Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / SharePoint 2007 > Integrating Controls > Full page postback with Ajaxified RadControl for the first time click only.

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

Feed from this thread
  • shikha bansal avatar

    Posted on Sep 30, 2009 (permalink)

    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

    Reply

  • Shawn Sullivan avatar

    Posted on Oct 22, 2009 (permalink)

    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.

    Reply

  • shikha bansal avatar

    Posted on Oct 22, 2009 (permalink)

    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

     

     

    Reply

  • Posted on Jan 14, 2010 (permalink)

    ControlCollection controlsColctn = this.Controls; in OnInit did the trick. Now I just have to solve why the CSS is applied incorrect after partial update.

    Reply

  • Gilad Globen avatar

    Posted on Oct 12, 2010 (permalink)

    I am having this issue and nothing I did so far solved it.
    Could someone please post a simple example of a working code?

    Reply

  • Nikolay Tsenkov Nikolay Tsenkov admin's avatar

    Posted on Oct 14, 2010 (permalink)

    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / SharePoint 2007 > Integrating Controls > Full page postback with Ajaxified RadControl for the first time click only.