Want to select a Row, flip to another tab.

3 posts, 0 answers
  1. hchattaway
    hchattaway avatar
    67 posts
    Member since:
    Feb 2007

    Posted 10 Sep 2008 Link to this post

    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:

    1 protected void ListOfTickets_OnSelectedIndexChanged(object sender, EventArgs e) 
    2         { 
    3             { 
    4                 rtsLinqTicketView.SelectedIndex = 1
    5                 rmpResultsDetail.SelectedIndex = 1
    6             } 
    7          } 
    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. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 10 Sep 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. hchattaway
    hchattaway avatar
    67 posts
    Member since:
    Feb 2007

    Posted 10 Sep 2008 Link to this post

    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


Back to Top