HTML button

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.
 
E

Eliyahu Goldin

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

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top