Forcing postback, RadAjaxManagerProxy

6 posts, 0 answers
  1. SUA
    SUA avatar
    5 posts
    Member since:
    Nov 2008

    Posted 31 Mar 2009 Link to this post

    Hi
    I have a project with the RadAjaxManger on the MasterPage and on the Default.aspx I have a button which is updated with the help of a RadAjaxManagerProxy. However, I want the page to do a full postback when I click on this button. How can I accomplish this
    ?

    - Thorgeir

  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 03 Apr 2009 Link to this post

    Hi Thorgeir,

    I suggest that you use OnRequestStart client-side event handler to determine the AJAX initiator and disable AJAX for the current request.
    For more information please refer to the following help topics:
    Exclude controls from ajaxifying
    RadAjax and MasterPage

    I hope this helps.

    All the best,
    Pavlina
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. James
    James avatar
    53 posts
    Member since:
    Jun 2009

    Posted 26 Mar 2010 Link to this post

    Sorry to dig up and old topic but it should would be nice to have this as a feature in the ASPX markup of the ajax manager and proxy.
  4. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 30 Mar 2010 Link to this post

    Hello James,

    Currently the possible options to exclude controls from ajaxifying are mentioned in the previous post. I am afraid that implementing the desired feature is not possible with RadAjaxManager/RadAjaxManagerProxy.

    Greetings,
    Pavlina
    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.
  5. Michael
    Michael avatar
    6 posts
    Member since:
    May 2007

    Posted 17 Aug 2010 Link to this post

     

    Unfortunately I cannot get the method in the referenced documentation to work.  I have a custom user control that has a radajaxmanager proxy in it.  I have inserted these two lines of code into the Page Load and then the Onit methods. 

    The code compiles and runs but when I click the ok button there is no postback.

    RadScriptManager
    radScriptManager = (RadScriptManager)this.Page.Master.FindControl("ScriptManager1");

     

    radScriptManager.RegisterPostBackControl(btnAcctPeriodOK);

    What am I missing?

  6. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 18 Aug 2010 Link to this post

    Hello Michael,

    To register the control as a trigger for postback in code-behind, I suggest that you use the code snippet below:
    ScriptManager.GetCurrent(Page).RegisterPostBackControl(btnAcctPeriodOK);

    I hope this helps.

    Sincerely yours,
    Pavlina
    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