Re: How to reload the webpage
- From: fh <fh@xxxxxx>
- Date: Tue, 23 Aug 2005 16:25:42 +0200
Daniel wrote:
I think i had the same pb,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 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
.
- References:
- How to reload the webpage
- From: Daniel
- How to reload the webpage
- Prev by Date: How to use timer in web form
- Next by Date: Re: ASP.NET WebForms Evaluation
- Previous by thread: How to reload the webpage
- Next by thread: How ro get the width of the DIV?
- Index(es):