Dear all,
I am still learning both Ajax and Telerik so I may ask "stupid" questions...
Basically, we have a treeview on a form and want to trigger some update in the tree on the server side and see it reflected on the front end when the job is finished.
I initially implemented this in a "slightly home made" manner as follows:
I am still learning both Ajax and Telerik so I may ask "stupid" questions...
Basically, we have a treeview on a form and want to trigger some update in the tree on the server side and see it reflected on the front end when the job is finished.
I initially implemented this in a "slightly home made" manner as follows:
- my tree view was in a Ajax update panel
- A hidden button was defined as a trigger for that panel
- A javascript function was setting a couple of variables in hidden fields and then calling the Submit() on the button
It worked fine but I am trying to do this in a more "Ajax/Telerik" way.
My cuning plan is
- My tree view is managed via a AjaxManagerProxy
- A popup window gathers some details required for the update and calls a javascript callback function on close
- the javascript function calls ajaxRequest(...) through RadAjaxManager.GetCurrent(Page).ClientID
So far everything works fine but I can't work out how to make sure the TreeView modifications are reflected on the client side because I can't work out how to express that the Treeview on the client must be updated when this javascript function fires...
I was hoping I would see AjaxManager(Proxy) itself in the controls "that will initiate Ajax Requests" in the AjaxManagerProxy configuration but nop!
Could someone tell me what I am missing?
Of course, I could re-use my hidden button but I was hoping for something more sophisticated...
Regards
Eric
PS: I forgot to mention that I have several content panes in that page