Hi, I have a doubt regarding <%# ... %> in my project. I am setting body direction either dir="ltr" or dir="rtl" dynamically based on user preference. To achieive this i am placing 'dir' value in 'session' object, when user logged in to the project corresponding preference are being placed into session object. so have gine body direction like this.. <Body dir='<%# Session["direction"] %>' > This is working correctly, but in MS Visual studion.net when i want to move Html code view to design view it's giving error message that "could't move to desing view and <% .. %> tags are used", because of using <% .. %.> these tags in HTML view , desing view is not being visible. can anybody give me the solution to my problem, howz achieive this to move desing view even i placed these tags..? Thanks kiran |