Z
zb
Scenarion:
In an ASPX page I have a user control embedded (actually embedded in
MasterPage), based on completion of a AJAX call in the user control it
needs to update a Grid view which is actually another user control.
I have been able to do this by keeping the grid view user control
inside an update panel with a hidden trigger button. On my AJAX call
completion in the first user control I use client script to simulate a
click on the hidden button to update the grid view.
But, this is a nightmare especially for maintenance and update. In
actuality, this is no less than a hack!
Is there a better way of doing this?
Thanks.
In an ASPX page I have a user control embedded (actually embedded in
MasterPage), based on completion of a AJAX call in the user control it
needs to update a Grid view which is actually another user control.
I have been able to do this by keeping the grid view user control
inside an update panel with a hidden trigger button. On my AJAX call
completion in the first user control I use client script to simulate a
click on the hidden button to update the grid view.
But, this is a nightmare especially for maintenance and update. In
actuality, this is no less than a hack!
Is there a better way of doing this?
Thanks.