how can i set the visibility of a button inside a grid view programatically.
-
In my situation i have to set the visibility of a button which is inside a grid view programatically in a button click.how can it be achieved
-
In my situation i have to set the visibility of a button which is inside a grid view programatically in a button click.how can it be achieved
-
hi, U have to either find control(button) on Databound event of gridview and ste its visibilty. or u can use foreach loop for gridview in find the control and set visibilty.
Regards Anil Pal
actually there two buttons are there in every row in a grid view. One is edit and the other is Save.by default the visibility of the Save button remain false.if the Edit button of a particular row is clicked by the user then the visibility of the corresponding Save button will be true.
-
actually there two buttons are there in every row in a grid view. One is edit and the other is Save.by default the visibility of the Save button remain false.if the Edit button of a particular row is clicked by the user then the visibility of the corresponding Save button will be true.