Hi,
I have a page "Main.aspx" with an UltraWebTab containting 3 tabs: initially, only the first tab is enable.
When I press a button in the first tab, I need to enable the other two tabs, but the UltraWebTab control is contained in the "Main.aspx" page and not in the aspx page visualized in the first tab where I have the button.
I tried to use Me.Parent.Page.FindControl but with no success.
Can you help me?
Thank you
Great, it works!
Hi Petar,
thank you very much.
I'll try your last example asap.
Hi accountinfragistics,
Please feel free to contact me if you have any further questions.
Thank you for your reply.
Upon further research, it may be more efficient to handle the clientside click of your button in Page1.aspx and access the UltraWebTab in the parent page (Main.aspx). Here is some sample code for Page1.aspx:
<script type="text/javascript"> function buttonHandler() { parent.igtab_getTabById("UltraWebTab1").Tabs[1].setEnabled(true); } </script> <asp:Button Text="text" ID="Button1" runat="server" OnClientClick="buttonHandler()" />
Please let me know if this helps.
Hi Petar, thank you very much for your example.
I still have a doubt: in my scenario the button is a server-side control (a WebImageButton); in this example there is a client-side control (<input type="button">).