Click here to Skip to main content
15,174,182 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
There is one dropdownlist and two textboxes if i select any value from dropdownlist then dynamically textbox value should be change?can you provide me solution
Posted

Do you main?

(if=dropdownlist.selectedvalue=="")
{
textbox.text= " ";

}
   
Hi,
Set dropdownlist AutoPostback property to True.

Then write Your Code in selectedindex_changed event of dropdownlist ..

Regards,
Pal.
   
Hi sunil,

Just see the following link in our codeproject website.

Drop down list Select IndexChange

Practice more...
Ok
   
put dropdown in update panel set autopostback-true for dropdownlist

dropdownlist1_selectedindexchanged()
{
textbox1.text="text1";
textbox2.text="Text2";
}
   

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