Dropdown in gridview on onSelectedIndexChanged

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vineetbindal
    New Member
    • Jan 2009
    • 57

    #1

    Dropdown in gridview on onSelectedIndexChanged

    Hi all,

    I have a gridview, when onselectedindex changed in fired. i want to convert the selected row's column's into dropdown so that user can select the new value and update it.

    please tell me how can i do that?

    regards,
    Vineet
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    It sounds like you're interested in looking into using a TemplateField. It will let you specify how your data appears when a user is editing a row.

    -Frinny

    Comment

    • vineetbindal
      New Member
      • Jan 2009
      • 57

      #3
      Tnx a Lot. actually i had a wrong understanding of what i wanted to do.... but also i dont wanted to have a edit button in my grid what i wanted is when a user will select a row(he can click anywhere on the row) a onselectedindex changed will be fired. and a drop down will apear in the row. user will select a nea value from the drop down and again onindexchanged will be fired and value will be updated and gropdown will go away.

      Comment

      • sangam56
        New Member
        • Nov 2007
        • 68

        #4
        Row click event in asp.net gridview: both single click and double click

        A little extension to the standard asp.net gridview can achieve the goal of single click and double click events in gridview. One post that helps is Asp.net custom gridview with single click and double click row events

        Hope this helps.

        Comment

        • vineetbindal
          New Member
          • Jan 2009
          • 57

          #5
          thanks a lot its really helpfull

          Comment

          Working...