Designer issues for DataGrid within custom control

Discussion in 'ASP .Net Datagrid Control' started by Matt Sokol, Aug 7, 2003.

  1. Matt Sokol

    Matt Sokol Guest

    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

    Any help would be appreciated.
    Matt Sokol
    Matt Sokol, Aug 7, 2003
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.