This is a migrated thread and some comments may be shown as answers.

Grid inside a Updatepanel is not updating on Button click

1 Answer 333 Views
Grid
This is a migrated thread and some comments may be shown as answers.
A2H
Top achievements
Rank 1
A2H asked on 20 Apr 2011, 11:32 AM
Hi,
I have a grid and button,which is inside a update panel.
My requirement is to update the grid on button click.
but when i click on button grid is not updating.

Is there anything I have to set in webpage.

Please help me
.

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 25 Apr 2011, 09:38 AM
Hello,

Please use one of the following configurations in order to implement the desired functionality:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="Button1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<asp:Button ID="Button1" runat="server" Text="Button" />
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="true">     
</telerik:RadGrid>

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
    <asp:Button ID="Button1" runat="server" Text="Button" />
    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="true">        
    </telerik:RadGrid>
</telerik:RadAjaxPanel>

I hope this helps.

Kind regards,
Mira
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
A2H
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or