You have a rad multi page with 2 tabs. First tab is for projects, second tab is for workitems associated with the project.
Each tab loads a user control.
If the page is opened to create a new project, the workitem tab is set to enabled="false"
There is a save button in the user control contained the projects tab. Once it creates a new project in the database, I need to pass the projectId of the new record from the User Control used in the projects tab back to the .aspx page that contains the tabs.
I've set up a delegate to transfer everything back to the main PrjEditorTabs.aspx and it fires but the workitem tab is still not enabled after I set it.
What I'm noticing is that the PageViewCreated on PrjEditorTabs.aspx page is firing before the button click event on the User Control, so it appears the tab is already rendered before the events on the tab user control have had a chance to fire. I haven't ran across an example as of yet to resolve this.
If the previous is hard to follow, all I'm doing is trying to setup tabs in a multi page. tab 1 is enabled and tab 2 is disabled upon load. Put a button in the user control loaded by tab 1. When that button clicked, it passes a value back to the .aspx that contains the tabs and multipage and then enables tab 2 dynamically.
Each tab loads a user control.
If the page is opened to create a new project, the workitem tab is set to enabled="false"
There is a save button in the user control contained the projects tab. Once it creates a new project in the database, I need to pass the projectId of the new record from the User Control used in the projects tab back to the .aspx page that contains the tabs.
I've set up a delegate to transfer everything back to the main PrjEditorTabs.aspx and it fires but the workitem tab is still not enabled after I set it.
What I'm noticing is that the PageViewCreated on PrjEditorTabs.aspx page is firing before the button click event on the User Control, so it appears the tab is already rendered before the events on the tab user control have had a chance to fire. I haven't ran across an example as of yet to resolve this.
If the previous is hard to follow, all I'm doing is trying to setup tabs in a multi page. tab 1 is enabled and tab 2 is disabled upon load. Put a button in the user control loaded by tab 1. When that button clicked, it passes a value back to the .aspx that contains the tabs and multipage and then enables tab 2 dynamically.