DataGrid Footer?

A

Adam Knight

Hi all,

I am using a datagrid footer as a container for some data entry
controls.
Above the datagrid is another data entry point which needs to be filled
out before prior to entering data in
these controls.

Q?
How can i reference the controls in the datagrid footer so as to disable
them.
When i do a trace i can see the controls, just not sure how to access
them using the datagrid api.

Will I have to use the datagrids onItemDataBound event?

I would prefer not to in this instance.

Cheers,
Adam
 
E

Eliyahu Goldin

Adam,

A good event for you to handle is PreRender. In the event you have the grid
already fully built and you can get to the footer as
myGrid.Columns.FooterText and myGrid.Columns.FooterStyle.

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top