How to make griedvew textbox visible with abutton click

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tshepil
    New Member
    • Dec 2009
    • 2

    How to make griedvew textbox visible with abutton click

    I have a griedview that dispalys data from a database. I use a checkbox to select the data then something is done with that data when a button is clicked. I wnat the textbox of the selected row to appear only when the button is clicked.

    Please help!!
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Use the .Visible property of the control you want to hide or show.

    When you click the button, make the text box

    MyTextBox.Visib le = true;

    Comment

    • tshepil
      New Member
      • Dec 2009
      • 2

      #3
      I first have to search which checkbox(line) was selected then the textbox must appear on that line within the griedview.

      I think i have to use the FindControl method, but im not sure how.

      Comment

      Working...