hi
i have master page update panel also. When i child page have delete function. when i delete the row from grid. after i rebind the grid. Then also i cannot see refreshed grid.
how to update the panel or grid?
regards Dhanraj.S
hi
i have master page update panel also. When i child page have delete function. when i delete the row from grid. after i rebind the grid. Then also i cannot see refreshed grid.
how to update the panel or grid?
regards Dhanraj.S
try the following:
ctype(me.Page.Master.FindControl("UpdatePanel1"),UpdatePanel).Update()
Setup your UpdatePanel like this:
<asp:UpdatePanel ID="UpdatePanel1" runat="server"
ChildrenAsTriggers="True" UpdateMode="Always">
<ContentTemplate>
...
</ContentTemplate>
</asp:UpdatePanel>
NOTE: GridView and DetailsView controls are not compatible with the UpdatePanel when their EnableSortingAndPagingCallbacks property is set to true. The default is false.
Using UpdatePanel Controls in Master Pages
The content of an UpdatePanel control is updated in the following circumstances: