Hello,
I have a Radgrid bound to a data source:
<radG:RadGrid ID="grdOthers" runat="server" DataSourceID="odsOthers"...>
..and a user control which contains a complex popup for adding a new record to the data source
<ucAutreActivite:AutreActivite ID="PopupAutreActivite"...>
In the user control the button which does the job:
<asp:ImageButton ID="btnValiderPopupAjouterActivite"...>
I also manually set in the user control the Ajax context between the button and the parent grid (which is a property of the user control), and it seems that it appears well in the View Source code:
window["RadAjaxManagerPlanningGrid"] = new RadAjaxManager(...{InitControlID : "PopupAutreActivite_btnValiderPopupAjouterActivite",UpdatedControls : [{ControlID:"PopupAutreActivite_AjouterActivitePopup",PanelID:""},{ControlID:"grdOthers",PanelID:""}]}...)
The problem is although that, after pressing the button which inserts a new value (and this works OK), the grid is not refreshed.
Am I missing something?
Thank you
I have a Radgrid bound to a data source:
<radG:RadGrid ID="grdOthers" runat="server" DataSourceID="odsOthers"...>
..and a user control which contains a complex popup for adding a new record to the data source
<ucAutreActivite:AutreActivite ID="PopupAutreActivite"...>
In the user control the button which does the job:
<asp:ImageButton ID="btnValiderPopupAjouterActivite"...>
I also manually set in the user control the Ajax context between the button and the parent grid (which is a property of the user control), and it seems that it appears well in the View Source code:
window["RadAjaxManagerPlanningGrid"] = new RadAjaxManager(...{InitControlID : "PopupAutreActivite_btnValiderPopupAjouterActivite",UpdatedControls : [{ControlID:"PopupAutreActivite_AjouterActivitePopup",PanelID:""},{ControlID:"grdOthers",PanelID:""}]}...)
The problem is although that, after pressing the button which inserts a new value (and this works OK), the grid is not refreshed.
Am I missing something?
Thank you