Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
By select an item from the dropdown list, the other field(text field) will be auto populate from the database and locked the field
Posted

1 solution

You need to write a server side dropdown selection index changed event or do a jQuery Ajax call onchange of dropdown to service or something which will retrieve the data from database and return.

Then just assign the return data into the text box. I hope locking means disabling the text box. That you can easily do by making it read-only.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900