RadAjaxPanel _doPostBack (HOW?)

2 posts, 0 answers
  1. Xaverian
    Xaverian avatar
    1 posts
    Member since:
    Jun 2007

    Posted 20 Jul 2010 Link to this post

    I'm currently converting a working appplication and integrating Telerik into it for a school capstone project.

    What I need to know is how do we perform a postBack call on the RadAjaxPanel?

    For instance, with MS AJAX I can enter the following Javascript into the head of my page:

    <script language="javascript" type="text/javascript">
        function connectLogin() {
            var prm = Sys.WebForms.PageRequestManager.getInstance();
            prm._doPostBack('UpdatePanel1', '');
        }
        setTimeout("connectLogin()", 10000);
    </script>

    that code will cause my UpdatePanel to basically refresh!

    <div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
               ...  
            </ContentTemplate>
        </asp:UpdatePanel>        
    </div>

    Any help with this would be great, I've looked over numerous pieces of code on the site here, tried several things and I'm not getting anywhere!

    Thanks!
  2. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 21 Jul 2010 Link to this post

    Hello Xaverian,

    You can initiate an ajax request from the client-side via the RadAjaxManager/RadAjaxPanel's ajaxRequest() method. Please refer to the following article for more details:
    http://www.telerik.com/help/aspnet-ajax/ajxclientsideapi.html

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