I did a tabstrip that has a second level for each tab in first level. When I clicked on one of these tabs in 2nd level, the tabstrip resets back to first level "Home" tab (that has "selected" by default) and second level of tabstrip disappears.
I want to click on one of these tabs in second level, and shows its corresponding tab parent (in 1st level) being selected as well as itself. How can I achieve this behavior?
5 Answers, 1 is accepted
I have implemented a sample RadTabStrip web-site testing your scenario. However, I wasn't able to reproduce the issue. Attached you will find my .aspx page. Could you modify it so it reproduces the described behavior and post your modifications for further review?
Looking forward to your reply.
I tried to use RadMultiPage and didn't work.
If you navigate using the NavigateURL property of the RadTab, you actually redirect user to that specific page. Using the NavigateURL prevents the client and the server events (except for the OnClientTabSelecting client event). In this way, what happens is that you do not select that specific tab, but just click the link specified. If you then perform page reload in some manner, you will be forced to the default state of the control. You can consult this KB Article, which explains how to persist the selected state using the client-side API.
The above directions are just general principles. It will be easier to test your specific scenario, if you give is the exact markup of your page.
I used the OnClientTabSelecting client event and it worked.
Thanks for the article. It helped me to understand how RadTabstrip works.