can clicking different tab cause postback

2 posts, 0 answers
  1. Adam King
    Adam King avatar
    23 posts
    Member since:
    May 2010

    Posted 20 Apr 2011 Link to this post

    Using the tabstrip, I'm wondering whether clicking on a different tab can cause postback?

    The datasource is our site map.

    The reason is on one tab if the user has partially entered something we want to save this into session variable and load it on the new page.

    Ideally clicking any tab would cause a postback, i would save their data, determine where they want to go, possibly do more validation and then redirect to the new tab/page.

  2. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 25 Apr 2011 Link to this post

    Hello Adam,

    If you RadTabStrip is databound to the site map, then no postbacks would get raised since it's being redirected to another page. You could most likely perform a callback during the RadTabStrips OnClientClicked event, which would call a method on your page to store the results in a session variable.

    I hope that helps.
  3. Telerik UI for ASP.NET Core is out
Back to Top