Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Enable all TextBoxes inside a FormView on button click

$
0
0

Hi all,

I have a button with the event Editbutton_Click linked within my c#.

Each Textbox that is within my FormView is by default enabled. I have several TextBoxes (around 20), so manually going through each in code would be a little irritating. I'm looking for the best way to loop through controls of type Textbox, and set enabled = true once this button is clicked.

Tips, links, etc., all welcome.

Thanks,

Nick V.


Viewing all articles
Browse latest Browse all 23244

Trending Articles