HTML button

  • Thread starter Thread starter Victor Sayas
  • Start date Start date
V

Victor Sayas

i have a html button in a webform that i converted to run as web server
control. i have an onclick event on the .net ide and also in the html side.
my problem is i cant seem to syncronize it so that when i redirect the page,
the necessary data needed will already be available.
document.location.href='./Main2.aspx'" this command is set in the onclick
event on the html side, how can i move this command in the onclick in the
webform event? so that when it changes the URL, all the data i inserted in
the session will be available when the Main2.aspx loads.


thanks.
 
You should not need to move the command anywhere. If the client changes to
another ASP.NET page in the same browser window, the session data should be
available to it.

Eliyahu
 

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

Back
Top