RadTabStrip to Load all RadTab Url once

2 posts, 1 answers
  1. Kiresh
    Kiresh avatar
    24 posts
    Member since:
    Sep 2012

    Posted 01 Jul 2013 Link to this post

    Hello EveryOne

    I have used  RadTabStrip and in that OnClientTabSelected i have loaded different urls as per selecting tab

    now i need some way so that this tab data stay as it is loaded in first time.
    i mean if i have selected one tab and url is binded with that tab and again i come to that tab and click it then  it should not bind url it just load last opened url , so that way my page performance increase.

    Is there any way to load tabbed data only once ?


  2. Answer
    Nencho avatar
    1662 posts

    Posted 04 Jul 2013 Link to this post

    Hello Kiresh,

    I am not quite sure that I had understood the scenario, you attempt to achieve. If you are having several URLs in the PageView of the currently selected Tab, and if the user had navigated from one of those links, you attempt to load it by default if the user selects the Tab again? If this is correct, I would suggest you to use cookies to store the lastly navigated Url and at the Page_LoadComplete, you could verify if the cookie has a value and navigate to the stored URL. I had prepared a sample page for you, demonstrating the implementation of the above suggestion. Please find it attached.

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top