Tabstrip with user controls in pageviews loaded via AJAX not working

5 posts, 1 answers
  1. VictorG
    VictorG avatar
    9 posts
    Member since:
    Oct 2008

    Posted 29 Jul 2013 Link to this post

    Hi,

    I am looking at the demo TabStrip - Dynamic PageView Creation via AJAX and I'm trying to implement something similar.
    The problem with the demo is that the RadGrid on the second tab is not sending postbacks (cannot enter edit mode, cannot change pages, etc). And this also happens in my implementation. I tried to add an AjaxManagerProxy in the user control but with no luck.
    As I said this bug seems to reproduce in the online demo, with Google Chrome and IE 10.
    Do you have any idea why this happens and how can I fix it?

    Thank you.
  2. Answer
    Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 31 Jul 2013 Link to this post

    Hello Victor,

    The main purpose of the referenced demo is to demonstrate how to fetch the contents of RadMultiPage on demand using Ajax and the created on demand PageViews in the TabClick event handler. This is the reason why the RadGrid is nested with its Enabled property is set to False. You could observe the declaration of the RadGrid, using the View Source button at the right top of the page.

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. VictorG
    VictorG avatar
    9 posts
    Member since:
    Oct 2008

    Posted 01 Aug 2013 Link to this post

    Yes, of course, I don't know how I missed that. Thank you.
  5. Kyle
    Kyle avatar
    7 posts
    Member since:
    Apr 2012

    Posted 15 Sep 2014 Link to this post

    While I do realize the demo page in question is just meant to show how to load a PageView via AJAX, I (and it sounds like others) would really like to know how to manage events when there are controls (like RadGrid) on the dynamically loaded PageView. Could you enable (and make functional) the RadGrid on the demo page or create a new demo with a functioning RadGrid inside a dynamically loaded PageView? Thanks.
  6. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 18 Sep 2014 Link to this post

    Hello Kyle,

    As an attachment you could find the referenced demo, isolated in a runnable sample and having the Enabled property of the RadGrid set to true. Please test it at our end and let us know if any questions arise.

    Regards,
    Nencho
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017