Daniel wrote:
Hi,
my web page have lots of user control.
when i try to refresh the web page, i encounter a problem as below:
"The page cannot be refresh without resending the information"
The question is:
HOw to resend the information such as rebind the datagrid content in
javascript?
Ur help will be appreciated.
thank you.
Best regards,
Ocurnos
I think i had the same pb,
I had a dataset in the main page and I changed the data of some rows in
a web User control.
but after the buton action in the WUC I needed to relaod the datagrid
with new data...
to do so :
I changed the word 'protected' to 'public'
in the WUC button that raise the action of updating the dataset
then in the main page I register this button '.click'
like that
this.myWebUserCtrl.btnXXXXX.click+=new EventHandler(btnXXXX_Click)
then I implemented it that way:
btnXXXX_Click(...........){
doWebUserControlStuff()
doReloadDatagrid()
}
so that it reloaded the datagrid after the action was made in the WUC
hope that help