How can I do that ?
once I click on a button, I make a xmlhttprequest in js which update sg, rigth after that I would like to refresh a panel
how can I do that ?
thx
panelName is your webAsyncRefreshPanel Id and
you need to have your script manager enabled on your aspx page. Then using ig$ you can get the warp panel object.
var warp = ig$(panelName); if(warp) warp.refresh(); //this command will refresh panel on client side.
ok but as you said, it's on the client side ...
I want to fetch the new datas from the server
The situation is ...
on one tab, if I make sg , I add datas in the database
and I would like to refresh the tab2 without reloading the whole page
finally it works as wished.
on the client side, I use this panel.refresh()
on the server side, this event is called
WebAsyncRefreshPanel1_ContentRefresh
{
I repopulate and rebind the needed control and it's working perfectly
}
Thx