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

RadTabStrip to Load all RadTab Url once

1 Answer 53 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Kiresh
Top achievements
Rank 1
Kiresh asked on 01 Jul 2013, 08:26 AM
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 ?

Thanks,


1 Answer, 1 is accepted

Sort by
0
Accepted
Nencho
Telerik team
answered on 04 Jul 2013, 06:52 AM
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.

Regards,
Nencho
Telerik
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.
Tags
TabStrip
Asked by
Kiresh
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or