Designer issues for DataGrid within custom control

M

Matt Sokol

I am building a custom control that will contain a DataGrid among
other server controls. I expose the child controls as public
properties so their complete set of individual properties can be
configured through the designer. This works well with almost all
controls I have used in this manner, except the DataGrid. The problem
is when the set of properties for the DataGrid is displayed in the
designer, clicking the Columns property generates an error. Normally
this would invoke the Property Builder dialog, but instead the
following error occurs: "Object reference not set to an instance of an
object."

Any help would be appreciated.
Thanks,
Matt Sokol
 

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,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top