Full page postback with Ajaxified RadControl for the first time click only.

6 posts, 0 answers
  1. shikha bansal
    shikha bansal avatar
    8 posts
    Member since:
    Sep 2009

    Posted 30 Sep 2009 Link to this post

    Hi Telerik Team,

    I have used the example mentioned on the link in the Telerik Documentation (http://www.telerik.com/help/aspnet-ajax/create-ajax-enabled-sharepoint-webpart-radcontrols.html) in my asp.net webpat for a SharePoint site.

    The issue is that on the first click of the RadTreeView node, full page postback occurs. On further clicks it actually works fine.
    Please let me know a solution asap.

    With Regards,
    Shikha
  2. Shawn Sullivan
    Shawn Sullivan avatar
    2 posts
    Member since:
    Oct 2009

    Posted 22 Oct 2009 Link to this post

    I am having the same issue but with an ajaxified RadGrid.  The first event it handles causes a full page postback and any further handled events behave as expected with a partial postback.

  3. shikha bansal
    shikha bansal avatar
    8 posts
    Member since:
    Sep 2009

    Posted 22 Oct 2009 Link to this post

    Hi Shawn

    Try adding the following code in OnInit after adding SciptManager tag.

     


    ////force controls to bind for ajaxification to avoid late ajaxification.
    This is to avoid full page postback for the first time a control is clicked.  

     

    ControlCollection controlsColctn = this.Controls;

    It has worked for me. See if it works for you.
    All the very best.

    Regards,
    Shikha

     

     

  4. Håvard Meling
    Håvard Meling avatar
    1 posts
    Member since:
    Jun 2009

    Posted 14 Jan 2010 Link to this post

    ControlCollection controlsColctn = this.Controls; in OnInit did the trick. Now I just have to solve why the CSS is applied incorrect after partial update.
  5. Gilad Globen
    Gilad Globen avatar
    1 posts
    Member since:
    Jul 2009

    Posted 12 Oct 2010 Link to this post

    I am having this issue and nothing I did so far solved it.
    Could someone please post a simple example of a working code?
  6. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 14 Oct 2010 Link to this post

    Hi Avi Haimovich,

    Could you, please, explain in a bit more detail specifically for you problem?
    Also, please, post some code reproducing the problem (simple page - markup and code-behind).

    Hope that soon we will resolve the problem you experience!


    Regards,
    Nikolay Tsenkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top