Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DropDrownList in GridView

Status
Not open for further replies.

bereza

Technical User
Jun 14, 2006
105
EU
Hi,

I have tryed some code samples and asked uncle google to fix my problem but no success.

the problem is I have a simple gridView every row has one dropdownlist and one textbox. what I want to do is when you choose an item from the dropdownlist it will insert its value to the textbox.

Thanks for your help.
 
JAVASCRIPT or AJAX would do the trick.

OnChange -> saveValue(send args)

function saveValue(receive arg) {
textbox.text = valueNeedsTobeSet
return Value
}
 
Thanks, but I dont want to use Javascript. I want to do it in CodeBehind class.

thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top