I have a control which is an html table of links. We turn off various rows in this table based on user permissions and/or the state of the data. Need help with getting the control to render after we use a RadWindow.
I think I'm pretty close. There are two links which are kind of the on-and-off for this function. Clicking whichever link is showing pops up a RadWindow; if the user hits the 'right' button, we want to make that link invisible and show its opposite number.
I've got the client-side handling of the RadWindow closing working, which kicks off an ajaxrequest as such:
I've got the handler in my code-behind properly looking at the parameter and setting each table row's visibility properly. I can't figure out how to configure the RadAjaxManagerProxy to recognize this request and tell the control it's been updated.
I've tried setting the AjaxControlID to the link, the Proxy, and even manually in code-behind to the Manager (this being a control, of course that's not local), but I can't get the table to re-draw. I've got a RadAjaxPanel enclosing my html table, and that panel is the updated control, so my markup is like this:
Seems as if I'm missing something obvious.
Thanks,
Scott
I think I'm pretty close. There are two links which are kind of the on-and-off for this function. Clicking whichever link is showing pops up a RadWindow; if the user hits the 'right' button, we want to make that link invisible and show its opposite number.
I've got the client-side handling of the RadWindow closing working, which kicks off an ajaxrequest as such:
$find(
"<%= RadAjaxManager.GetCurrent(Page).ClientID %>"
).ajaxRequest(
'ShowRDDAssignmentRow'
);
I've got the handler in my code-behind properly looking at the parameter and setting each table row's visibility properly. I can't figure out how to configure the RadAjaxManagerProxy to recognize this request and tell the control it's been updated.
I've tried setting the AjaxControlID to the link, the Proxy, and even manually in code-behind to the Manager (this being a control, of course that's not local), but I can't get the table to re-draw. I've got a RadAjaxPanel enclosing my html table, and that panel is the updated control, so my markup is like this:
<
telerik:RadAjaxLoadingPanel
ID
=
"loadingPanel"
Skin
=
"Default"
runat
=
"server"
/>
<
telerik:RadAjaxManagerProxy
ID
=
"RadAjaxManagerProxy"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadAjaxManagerProxy"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"ajaxPanel"
LoadingPanelID
=
"loadingPanel"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManagerProxy
>
Seems as if I'm missing something obvious.
Thanks,
Scott