G
Guest
I've got a lot of modal dialog boxes in my web application that do postbacks.
Originally my application was developed in VS 2003 and everything worked
fine.
Now I'm upgrading to VS 2005 and all of the pages that were upgraded by VS
appear to be working fine. But any new pages I create to work as a modal
dialog box don't work properly during the postback. When any event causes a
postback in my new modal dialog boxes the client will open a new form which
generally causes chaos in my application. On all of my old pages I use <base
targed=_self /> between the <head> tags to solve this problem. But I can't
get this to work with new pages I'm creating.
I did notice that my new pages show <head runat="server"> while my old pages
don't have the runat element. I've tried removing this but with no success.
Is this a change between ASP.NET 1.x and 2.0? And what can I do to get this
to work on my new pages?
Originally my application was developed in VS 2003 and everything worked
fine.
Now I'm upgrading to VS 2005 and all of the pages that were upgraded by VS
appear to be working fine. But any new pages I create to work as a modal
dialog box don't work properly during the postback. When any event causes a
postback in my new modal dialog boxes the client will open a new form which
generally causes chaos in my application. On all of my old pages I use <base
targed=_self /> between the <head> tags to solve this problem. But I can't
get this to work with new pages I'm creating.
I did notice that my new pages show <head runat="server"> while my old pages
don't have the runat element. I've tried removing this but with no success.
Is this a change between ASP.NET 1.x and 2.0? And what can I do to get this
to work on my new pages?