Hi, I'm having trouble figuring out something that should be simple but I'm having trouble trying to figure it out.
I have a Page (Default.aspx) which contaiins a WebTab Control (Infragistics, but shouldn't matter really). Inside each Tab Control of the WebTab is another page, Page1.aspx, Page2.apx, so it's like this:
Default.aspxWebTab WebTabControl(0) Page1.aspx <-- I'm in this codebehind after calling __doPostBack from JavaScript as I have a parameter from a WebDataGrid. WebTabControl(1) Page2.aspx <-- I want to open this page and pass it a parameter.
I'm in Page1.aspx codebehind doing a postback as I have a parameter that I need to pass to the next page, and I want to open Page2.apx which is inside the 2nd Tab.
Basically, I think I need to do the following steps.1. Set the Active Tab to WebTabControl(1)2. Give it the Parameter that I have for it to do something with.
I know I'll have to shoot myself once someone tells how to do it :-)Thanks!
I asked this on StackOverflow too and ended up answering my own question. http://stackoverflow.com/questions/5479800/how-do-i-activate-a-different-tab-from-inside-a-page-on-a-different-tab-and-do-a/5573325