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

Load on demond issue

2 Answers 55 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Waleed Seada
Top achievements
Rank 2
Waleed Seada asked on 20 Dec 2009, 12:23 PM
Dear All,

I found the example http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/loadondemand/defaultcs.aspx very useful as start.

I have a slightly differences in the implementation approach, which is : my tab that will load other user controls on demand is itself in a usercontrol that loads dynamically.

I don't know why the if (!Page.IsPostBack) is always "false", it never fires !! unless I take out the "!".

Is it correct that the whole pages will be loaded every time the control is loaded !!
which is against the approach (load on demand)

How I can resolve this ...

Best regards
Waleed

2 Answers, 1 is accepted

Sort by
0
Waleed Seada
Top achievements
Rank 2
answered on 22 Dec 2009, 01:32 PM
Dear All,

I try to override the "CreateChildControls" but still the same result ...

Regards
Waleed
0
Waleed Seada
Top achievements
Rank 2
answered on 23 Dec 2009, 10:10 AM
Dear All,

I was working on the issue for a while. I change the strategy of this part of my application to use contentpage instead of UserControls (which I love to have !!). and I manage to get it to work as the example provided on the demos, also I manage to setup the ajaxifications between the RadTab and RadMultipage either using ajax manager on the master page or using Radajaxproxy.

I got to change also the place where I declare my business class on the page_load to be in OnInit avoiding session variables.

My concern now, if I had to go this way, I have to change the strategy for all other application parts to use the contentpage instead of the UserControls.

Any advice ..!!

Thanks
Waleed
Tags
TabStrip
Asked by
Waleed Seada
Top achievements
Rank 2
Answers by
Waleed Seada
Top achievements
Rank 2
Share this question
or