How this done with RadAjaxpanel (Updatepanel.update())

2 posts, 1 answers
  1. Shafees
    Shafees avatar
    14 posts
    Member since:
    Sep 2010

    Posted 23 Sep 2010 Link to this post

    I had not found a alternative for asp:updatepanel.update() in RadAjaxPanel
    How the senario is possible with RadAjaxpanel

    Bellow is a code sample

    asp:UpdatePanel ID="updatePanelSearch" runat="server" UpdateMode="Conditional">
            <asp:Label ID="Label1" runat="server" Text="Search"></asp:Label>
            <telerik:RadTextBox ID="radtxtSearch" runat="server">
            <asp:ImageButton ID="imgbtnSearch" runat="server" ImageUrl="~/Images/Search.png" OnClick="imgbtnSearch_Click" />
    <asp:UpdatePanel ID="updatePanelGrid" runat="server" UpdateMode="Conditional">
               <asp:PlaceHolder ID="phGrid" runat="server"></asp:PlaceHolder>
    protected void imgbtnSearch_Click(object sender, ImageClickEventArgs e)
        /*Update Grid*/
  2. Answer
    Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 28 Sep 2010 Link to this post

    Hi Shafees,

    RadAjax does not provided a method for explicit update as the ASP:UpdatePanel. However you can use the RadAjaxManager control to ajaixy your page as below:

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <telerik:AjaxSetting AjaxControlID="Panel1">
                    <telerik:AjaxUpdatedControl ControlID="Panel1" />
                    <telerik:AjaxUpdatedControl ControlID="phGrid" />
            <telerik:AjaxSetting AjaxControlID="phGrid">
                    <telerik:AjaxUpdatedControl ControlID="phGrid" />
    <asp:Panel ID="Panel" runat="server"
        <asp:Label ID="Label1" runat="server" Text="Search"></asp:Label
        <telerik:RadTextBox ID="radtxtSearch" runat="server"
        <asp:ImageButton ID="imgbtnSearch" runat="server" 
            ImageUrl="~/Images/Search.png" OnClick="imgbtnSearch_Click" /> 
    <asp:Panel ID="phGrid" runat="server">

    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