Load on demond issue

3 posts, 0 answers
  1. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 20 Dec 2009 Link to this post

    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. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 22 Dec 2009 Link to this post

    Dear All,

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

    Regards
    Waleed
  3. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 23 Dec 2009 Link to this post

    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
Back to Top