This is a migrated thread and some comments may be shown as answers.

Want to select a Row, flip to another tab.

2 Answers 37 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
hchattaway
Top achievements
Rank 1
hchattaway asked on 10 Sep 2008, 03:49 PM
Hello

I have a tab strip hooked up to a RadMultiPage with 2 RadPageView's. In the first pageview, I have a grid with the first column being a ButtonColumn. IN the codebehind, I have:

protected void ListOfTickets_OnSelectedIndexChanged(object sender, EventArgs e) 
        { 
            { 
                rtsLinqTicketView.SelectedIndex = 1
                rmpResultsDetail.SelectedIndex = 1
            } 
         } 
In line 4, its reference the RadTabStrip, line 5 is RadMultiPage. In the Designer, I specify each pageview with "TabIndex = 0" and "TabIndex = 1"

When I click on the button in the grid, it is not flipping to the other tab, any ideas on what is not working here?
Thanks
Harold

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 10 Sep 2008, 03:57 PM
Hello hchattaway,

Can you verify with the debugger that the code executes properly? Also do you use Ajax in this case? If yes you are probably not updating the tabstrip and pageview.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
hchattaway
Top achievements
Rank 1
answered on 10 Sep 2008, 05:42 PM
Hi

Yes, I am using AJAX and update panels and that was the problem! Whe I added the tabstrip, I did not wrap it in the existing UpdatePanel, once i did it worked properly! Thanks for tip!

Harold


Tags
TabStrip
Asked by
hchattaway
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
hchattaway
Top achievements
Rank 1
Share this question
or