GridView Control - Disable/Enable Row Editing

M

Mel

I want to disable the editing of a row in my gvParts GridView
control. How? I need to evaluate the value of one Template Field to
determine if the record should be edited or not but the template field
always returns an empty string. Any ideas?
 
L

Larry Bud

I want to disable the editing of a row in my gvParts GridView
control. How? I need to evaluate the value of one Template Field to
determine if the record should be edited or not but the template field
always returns an empty string. Any ideas?

Turn the Edit column into a template and put your logic in the
"visible" attribute.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top