Hi there,
In a section of our page, we have three radGrids, each of which control the visibility of a asp:button (for example if rows.count > 0). Now that we are rolling out AJAXified grids across our application, we have reached this page and noticed that there are a number of issues introduced once we apply AJAX on these grids.
We have a function that is called in pageLoad and ItemCreated (for the affected grids) which determines the visibility of the above button. However we have noticed that once the grid is AJAXified, and the button is added as an UpdatedControl of the grid, the visibility of the button is not affected by this function, even if we removed all items in the grid.
However, if I were to reload the page after removing all items in the grid, the button would be hidden as the above visibility function would return a False, but ideally we would like this to be done during the AJAX request of the grid.
Is there something that we are missing here??
Hope you can help
Regards
A.
In a section of our page, we have three radGrids, each of which control the visibility of a asp:button (for example if rows.count > 0). Now that we are rolling out AJAXified grids across our application, we have reached this page and noticed that there are a number of issues introduced once we apply AJAX on these grids.
We have a function that is called in pageLoad and ItemCreated (for the affected grids) which determines the visibility of the above button. However we have noticed that once the grid is AJAXified, and the button is added as an UpdatedControl of the grid, the visibility of the button is not affected by this function, even if we removed all items in the grid.
However, if I were to reload the page after removing all items in the grid, the button would be hidden as the above visibility function would return a False, but ideally we would like this to be done during the AJAX request of the grid.
Is there something that we are missing here??
Hope you can help
Regards
A.
<
telerik:AjaxSetting
AjaxControlID
=
"radFScore"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"radFScore"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"radFScore"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"btnPreview"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>