| | |
javascript how to make the dropdown value to reset to intiall value(checking the chec
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Oct 2009
Posts: 4
Reputation:
Solved Threads: 0
javascript how to make the dropdown value to reset to intiall value(checking the chec
0
#1 Oct 30th, 2009
hi, "INSERT MODE"
i have check box in one "tr". and another dropdown control in another "tr" intially dropdown control will be invisiable intially .
but once the user checks the check box. the dropdown control should be visiable and he can select the value. but again the user unchecks the check box the dropdown should be set to default value that is "--selec--"
"UPDATE MODE" intailly checkbox.Test = dt.cloumn["state"].tostring();
if(checkbox.Test!= "") { checkbox.checked=true; //then value dropdown value should be shown like"india" } else { checkbox.checked="false" //then value dropdown value should be default "--select" } in insert mode checkbox willbe unchecked in update mode if checkbox in checked then the value of dropdown should be shown"india" in update mode if checkbox in unchecked then the value of dropdown should be shown default"-select-"
i have check box in one "tr". and another dropdown control in another "tr" intially dropdown control will be invisiable intially .
but once the user checks the check box. the dropdown control should be visiable and he can select the value. but again the user unchecks the check box the dropdown should be set to default value that is "--selec--"
"UPDATE MODE" intailly checkbox.Test = dt.cloumn["state"].tostring();
if(checkbox.Test!= "") { checkbox.checked=true; //then value dropdown value should be shown like"india" } else { checkbox.checked="false" //then value dropdown value should be default "--select" } in insert mode checkbox willbe unchecked in update mode if checkbox in checked then the value of dropdown should be shown"india" in update mode if checkbox in unchecked then the value of dropdown should be shown default"-select-"
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: BoundFields with different DataSources
- Next Thread: Setting width and Height in percent(%)
| Thread Tools | Search this Thread |
Tag cloud for asp.net, jquery
2.0 advice ajax anathor animate asp asp.net beginner bug businesslogiclayer c# cakephp checkbox class control countryselector courier dataaccesslayer database datagridview development dropdownlist dropdownmenu expose feedback fileuploader flash folder form freelance gridview ie7 iframe iis javascript jquery libcurl listbox microsoft mimic mssql paypal php post project redirect refer relationaldatabases rotatepage search select sql-server toggle tracking treeview validatedate validation vb.net video virtualdirectory vista visual-studio visualstudio web webarchitecture webdevelopemnt webdevelopment webprogramming windows7 wizard xml xsl






