how to fire events of dropdownlist in datagrid

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default how to fire events of dropdownlist in datagrid

    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 Guest

  2. Similar Questions and Discussions

    1. Adding buttons to a datagrid doesn't fire its events
      Hi! I'm adding an asp button to a datagrid on the ItemDataBound event, when the user clicks on this button, I basically remove the button and...
    2. Will Events not fire in a datagrid if you set the datasource after the page load?
      Will Events not fire in a datagrid if you set the datasource after the page load? How can I get around that?
    3. Dynamic Datagrid does not fire events.
      I have been working for quite some time on this issue which in theory should be quite simple. The problem is that the Cancel and Save events are...
    4. Datagrid events refuse to fire (pt 2)
      Further to my earlier post the following events DO fire - ItemDataBound ItemCreated DataBinding Load PreRender UnLoad and the following...
    5. Datagrid events refuse to fire
      I cannot for the life of me get any of my datagrid's events to fire. The grid is within a usercontrol and is static on the page. The grid...
  3. #2

    Default Re: how to fire events of dropdownlist in datagrid

    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" <balajichemba18@yahoo.co.in> wrote in message
    news:5293009f.0306260438.133141f@posting.google.co m...
    > 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 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139