This is a migrated thread and some comments may be shown as answers.
RadAjaxPanel _doPostBack (HOW?)
1 Answer 51 Views
This is a migrated thread and some comments may be shown as answers.
Xaverian
Top achievements
Rank 1
Xaverian asked on 20 Jul 2010, 09:14 PM
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!

1 Answer, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 21 Jul 2010, 12:47 PM
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
Tags
Ajax
Asked by
Xaverian
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Share this question
or