|
-
Jan 6th, 2005, 01:04 PM
#1
Thread Starter
Addicted Member
Combobox disabled when clikc on back button ...
Hi, I have two radio buttons (rb1, rb2) and two comboboxes(webcontrols.dropdownlist, cmb1,cmb2) in asp page(1.aspx) . rb1 is checked and cmb1 is disabled by default, also I add javascript onClick event on each radio button to do this: when user click on rb1 then disable cmd2 and enable cmb1, and vice versa when user click on rb2 then disable cmd1 and enable cmd2. Submit button lead to other page. I click on rb2 (javascript do the job, disable cbm1 and enable cmb2), then I click on submit button and another page shows. Then, finally my problem is, after submitting when click on 'back' in browser (ie) 1.aspx shows again but now rb2 checked and cmb2 disabled instead of cmb2 enabled and cmb1 disabled. At the end, only to mention that 'enableviewstate' is true for page and for all controls.
Did anybody have idea why cmb2 is disabled?
regard j
-
Jan 6th, 2005, 02:09 PM
#2
Frenzied Member
Could it be that the page is returning back to it's original state - like the way it appears when you first visit the page?
~Peter

-
Jan 6th, 2005, 02:28 PM
#3
Thread Starter
Addicted Member
Re: Combobox disabled when clikc on back button ...
 Originally Posted by MrGTI
Could it be that the page is returning back to it's original state - like the way it appears when you first visit the page?
In that case rb1 should be checked and cmb2 disabled, but now I get rb2 checked and cmb2 disabled.
What is wrong ?!?!?
regard j
-
Jan 10th, 2005, 12:25 PM
#4
Frenzied Member
Re: Combobox disabled when clikc on back button ...
aspx hates the back button.
Magiaus
If I helped give me some points.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|