Auto switch tab & UpdatePanel

2 posts, 0 answers
  1. Kh Mohamad
    Kh Mohamad avatar
    1 posts
    Member since:
    Nov 2007

    Posted 30 Aug 2009 Link to this post

    I have 2 tabs in tabstrip:

    1st pageview contains an ajax updatepanel (not telerik) covering a radgrid
    2nd pageview contains an ajax updatepanel (not telerik) covering a form to insert new data.

    On success insert in the 2nd pageview, i want to auto switch the tab to the first pageview, so that the user can see the newly inserted data in the grid.

    My current approach does not work as the view stays on 2nd pageview even after success insert. Any workable solution is appreciated, i need separate updatepanel for each pageview to reduce loading time.

  2. Paul
    Paul avatar
    4281 posts

    Posted 31 Aug 2009 Link to this post

    Hello Kh Mohamad,

    There are multiple ways in which you can change the selected tab and pageview. The easiest one is to set the SelectedIndex property of both RadTabStrip and RadMultiPage to the needed index.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top