how to fire events of dropdownlist in datagrid

Discussion in 'ASP .Net' started by Balaji, Jun 26, 2003.

  1. Balaji

    Balaji Guest

    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
    Balaji, Jun 26, 2003
    #1
    1. Advertising

  2. Balaji

    Saravana Guest

    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

    --
    Saravana
    Microsoft India Community Star,
    MCAD,SE,SD,DBA.


    "Balaji" <> wrote in message
    news:...
    > 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
    Saravana, Jun 26, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark
    Replies:
    6
    Views:
    501
    S. Justin Gengo
    Aug 3, 2003
  2. David Rose

    DataGrid edit events fire twice

    David Rose, Dec 14, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    614
    Microsoft
    Jan 13, 2004
  3. =?Utf-8?B?T2Zlcg==?=

    Causing events to fire in a datagrid

    =?Utf-8?B?T2Zlcg==?=, Apr 4, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    366
    =?Utf-8?B?T2Zlcg==?=
    Apr 5, 2005
  4. Simon Storr

    Datagrid events refuse to fire

    Simon Storr, Jul 15, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    137
    Simon Storr
    Jul 15, 2003
  5. Chris

    Events Events Events Please Help

    Chris, Aug 30, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    350
    Chris
    Aug 30, 2005
Loading...

Share This Page