Hi everyone,
I've a small issue with my radgrids. This is the scenario
2 radgrids in the page: the first one with "temporary" records, while the second one with the "confirmed" records. In the first grid there's a commandbutton in the footer which allows the user to confirm, in one click, all the records. When the user confirms, then I need to refresh the 2 radgrids and I've achieved this task by writing this piece of code:
<
telerik:AjaxSetting
AjaxControlID
=
"RadAjaxManager1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadGridSales"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadGridSoldlConfirmed"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
The problem is that if the user clicks on the Header of the first radgrid in order to sort the rows the 2 radgrid are being refreshed, while I need to refresh only the first one in this particular case.
The same if the user clicks on another commandbutton which allows it to delete a single row (so one commandbutton for each row) or the complete grid (another commandbutton in the footer).
So, there's a way to refresh the two radgrids only on certains condition?
I hope it's clear what I've just described and don't hesitate to ask for more clarifications.
Thank you in advance to everyone who would help me.
Regards