How to reload the webpage

G

Guest

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
 
F

fh

Daniel said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,277
Latest member
VytoKetoReview

Latest Threads

Top