In ASP.Net (using C#) how do i turn a Drop Down List into a text Box after the user has selected an entry from the Drop down list???? The entry selected from the Drop down list should display in the text box (or perhaps a label....???)
Thanks
Dillon
Loading
LeePosted Jan 12, 2006, 8:47 AM
He ManPosted Jan 6, 2006, 4:06 AM
Hi,
Converting aspDropdown to textbox is not possible.
what u can do is u can take one textbox along with the aspDropdown control and showhide the control to manipulate ur form.
For examle :
when User selects a record from dropdownilist then dropdownilist.visible = false and textbox.visible = true
Hope this would work....
thanx
vivek sandamPosted Dec 29, 2005, 7:52 AM
but you can do the same thing using AJAX. you can turn your text box to b wrk as drop down list
Emerald TPosted Dec 26, 2005, 1:40 AM
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbwlkWalkthroughUpdatingDataUsingDatabaseUpdateQueryInWebForms.asp