I am trying to get a .ASPX page for users to signup/login to. And I decided to make multiple Web User controls to just switch between with the .visible property.
Works great for the controls that don't have any dynamic content like buttons. But on any of the controls that have buttons whenever they are pressed, it loads up the default page. I have gotten it so that the controls have a property of "has_control" that is set to true whenever they should be the page displayed (ie: their job is not done) and a button on the main page, can check to see which needs displaying, and reload that control (all be it, with all the fields blanked out, but I can deal with that)
I thought that the page_load() Sub ran on the main .aspx page every time something like a button was pressed on a control. But for some reason, the same code that is being run with the button on the main page, does not get run when it is in the Page_load sub.
Any help?
Works great for the controls that don't have any dynamic content like buttons. But on any of the controls that have buttons whenever they are pressed, it loads up the default page. I have gotten it so that the controls have a property of "has_control" that is set to true whenever they should be the page displayed (ie: their job is not done) and a button on the main page, can check to see which needs displaying, and reload that control (all be it, with all the fields blanked out, but I can deal with that)
I thought that the page_load() Sub ran on the main .aspx page every time something like a button was pressed on a control. But for some reason, the same code that is being run with the button on the main page, does not get run when it is in the Page_load sub.
Any help?