>Hello all,
>
>I just successfully converted my web application to VS 2010 from VS 2008 and found out that when there are session variables in the code behind file for a web form, the design form view encounters an error in rendering the page on the design form. The following link explains this:
>
>
http://blogs.msdn.com/b/webdevtools/archive/2010/04/15/rendering-issue-in-visual-studio-2010-when-accessing-the-session-state-in-the-oninit-method.aspx>
>I would like to know how any of you who have encountered this have addressed this issue.
>
>TIA
>
>Bob
Is your reference to session in the OnInit method? Did you try the work around suggested here? I have not encountered it but most likely I do not have any cases of session in the OnInit. Can you put it somewhere else?
Timothy
Timothy Bryan