SelectedIndexChanged for dropdownlist which is in datagrid

Posted by Anu_dgr8 under C# on 7/9/2010 | Views : 4110 | Status : [Member] | Replies : 6
i have a datagrid in which a dropdownlist is present..on ItemDataBound event of datagrid i am filling the dropdownlist. i want to implement SelectedIndexChanged event for this dropdownlist.i have written the code for the same,but the event only is not getting fired..Can somebody help me??

Thanks in Advance!

Thanks and Regards,
Hoosha Boosha



Responses

Posted by: BangaruBabu on: 7/9/2010 [Member] Starter

Up
0
Down

Check The Following Link


http://p2p.wrox.com/asp-net-2-0-professional/75742-dropdownlist-selectedindexchanged-gridview.html

BangaruBabu Pureti
http://bangarubabupureti.spaces.live.com/

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Anu_dgr8 on: 7/9/2010 [Member] Starter

Up
0
Down
my selectedindexchanged event is not getting fired only!

Thanks and Regards,
Hoosha Boosha

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Anu_dgr8 on: 7/9/2010 [Member] Starter

Up
0
Down
i tried the same code

Thanks and Regards,
Hoosha Boosha

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mcamkumaran on: 7/13/2010 [Member] Starter

Up
0
Down
good evening friend,
you hae a datagrid and that grid have a one column of the dropdownlist that particullar dropdownlist selected the selectedindexchanged event want to fire,but teh event not fire that's your question
if you don't mind why you want the selected indexchanged in grid it is not nescessary na,but i give the solution
in the dropdownlist property Autopostback is set to as true the event is going to be fired

MuthuKumaran.R
Senior Software Engineer
Techcello
India.

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Anu_dgr8 on: 7/15/2010 [Member] Starter

Up
0
Down
i solved it on my own!thanks anyway!

Thanks and Regards,
Hoosha Boosha

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Neeks on: 7/16/2010 [Member] Bronze

Up
0
Down
Please set the AutoPostback property to true,

This might help

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response