Disable Control In Datagrid Footer!

A

Adam Knight

Hi,

I am asked a similar question previously, but found the response didn't
really answer my question

I have a datagrid which has data entry controls in its footer.

What would be the best way to disable these controls.

In my world i would love to simply go.
dgGrid.Footer.Columns(0).Controls(1).Enabled = True

Unforntunately for me, this isn't how it works!
 
E

Eliyahu Goldin

Try using ItemDataBound or ItemCreated event. In the event you can catch the
footer as an item with ItemType=Footer.

Eliyahu
 

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,777
Messages
2,569,604
Members
45,233
Latest member
AlyssaCrai

Latest Threads

Top