Hi,
I am have a task to convert an asp page to an asp.net page. The problem that I am encountering is a html drop down control. Which is running javascript when the user clicks on a button.
The problem is the javascript is not working. My assumption is because the <form runat=server> will not let it execute. So, I am planning to use a server control ("dropdown combobox") and then redirect the users to different pages.
Anyhow, I Have 4 controls on the web page that are server controls (4 combo boxes) with autopostback = "true"
I have my code working but if the user is redirected to a web page, and the presses the i.e back button my accessories drop down control is not reset. So if the user chooses a different vehicle (different drop down box) then during postback the user is redirected to a unwanted webpage. It appears that even if a user does not click on the "accessories" drop down combo box, it will still execute the code behind even if the user did not click on that control.
Any suggestons?
<mike>
I am have a task to convert an asp page to an asp.net page. The problem that I am encountering is a html drop down control. Which is running javascript when the user clicks on a button.
The problem is the javascript is not working. My assumption is because the <form runat=server> will not let it execute. So, I am planning to use a server control ("dropdown combobox") and then redirect the users to different pages.
Anyhow, I Have 4 controls on the web page that are server controls (4 combo boxes) with autopostback = "true"
I have my code working but if the user is redirected to a web page, and the presses the i.e back button my accessories drop down control is not reset. So if the user chooses a different vehicle (different drop down box) then during postback the user is redirected to a unwanted webpage. It appears that even if a user does not click on the "accessories" drop down combo box, it will still execute the code behind even if the user did not click on that control.
Any suggestons?
<mike>