how to fire events of dropdownlist in datagrid

B

Balaji

Hi guys,

This is a subtle one. I'm looking for someone who can give me some
insight relative to eventsfiring in the codebehind.


I have created the dropdownlist dyanamically in the datagrid using the
<Item template> tag.but now by requirement is, on change the value in
the dropdownlist,i have to generate( another drop down or text box )
other control in the next column of the datagrid.



Thansk In advance

Thanks&Regards
Vel.B
 
S

Saravana

Hi,

If you have your dropdownlist in the datagrid, then create one eventhandler
for SelectIndexChanged event and set its autopostback property to true. Then
in that eventhandler write code for creating another dropdownlist or textbox
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top