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
 
Back
Top