Hi,
Here's my situation.
I have a RadWindow (separate aspx page) that contains a grid within a RadAjaxPanel (also tried just a plain asp Panel).
The grid is bound to a sqlDataSource.
The grid loads just fine when the RadWindow is initially launched.
The user fills out a few fields on the forms and clicks on Save.
I then call a webservice from javascript that adds a new record to this data source.
I now need to rebind the grid to show this newly added record.
I'm using the following function:
I've tried adding the following to my RadAjaxManager without any success either (with and without the 1st AjaxSetting):
What am I doing wrong?
Thanks in advance for any assistance.
Jim
Here's my situation.
I have a RadWindow (separate aspx page) that contains a grid within a RadAjaxPanel (also tried just a plain asp Panel).
The grid is bound to a sqlDataSource.
The grid loads just fine when the RadWindow is initially launched.
The user fills out a few fields on the forms and clicks on Save.
I then call a webservice from javascript that adds a new record to this data source.
I now need to rebind the grid to show this newly added record.
I'm using the following function:
function
RefreshGrid() {
var
grid = $find(
"<%= grdInputs.ClientID %>"
);
var
masterTable = grid.get_masterTableView();
masterTable.rebind();
// grid.repaint(); // tried adding this, but without any luck
}
I've tried adding the following to my RadAjaxManager without any success either (with and without the 1st AjaxSetting):
<
telerik:AjaxSetting
AjaxControlID
=
"RadAjaxManager1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"grdInputs"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"grdInputs"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"grdInputs"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
What am I doing wrong?
Thanks in advance for any assistance.
Jim