hi
I have a GridView inside a UpdatePanel
the case is: The user open a new window, select new items witch afect the data displayed in the DataGrid.
I want to update de GridView content via a Javascript method is there a way to do that?
thanks for any help
hello.
an easy way to do this is to add a dummy button and then perform a click programatically on that button. this should be enough to force the postback. you can also take a look at the postbackaction or event call the _dopostback method directly.
That Works fine
Thanks Madeira
function RefreshGridView(){__doPostBack('Button1','');//Button.click();}
That Works fine
Thanks Luis Abreu
function RefreshGridView(){__doPostBack('Button1','');//Button.click();}
Does this only work from within the update panel?
I'm trying it from outside the panel and it is refreshing the whole page.
No comments:
Post a Comment