L
Lyuba
Hi
I have a problem with user controls in asp.net
I have an aspx page that has a System.Web.UI.WebControls.PlaceHolder. On page load I have code that loads page1.ascx control on the placeholder. page1.ascx has button "next", on click it clears placeholder on aspx page and loads page2.ascx on the placeholder
The problem is on page2.ascx. It has "next" button but on click only client side processing works. In my page2.cs I have routine that supposed to store data to a db and then clear placeholder and load next control. I've debugged it step by step - it never gets into the next click event handler
What am I doing wrong? Please help
Thank you in advanc
Lyuba
I have a problem with user controls in asp.net
I have an aspx page that has a System.Web.UI.WebControls.PlaceHolder. On page load I have code that loads page1.ascx control on the placeholder. page1.ascx has button "next", on click it clears placeholder on aspx page and loads page2.ascx on the placeholder
The problem is on page2.ascx. It has "next" button but on click only client side processing works. In my page2.cs I have routine that supposed to store data to a db and then clear placeholder and load next control. I've debugged it step by step - it never gets into the next click event handler
What am I doing wrong? Please help
Thank you in advanc
Lyuba