Custom DataSourceControl with parameter collection at design time

I have a custom DataSourceControl which has a parameter collection defined as
a property on the object. While everything works just fine I'm having
problems with the design time implementation of the control. I'm getting an
error: 'DocumentDataSource' could not be set on property 'SelectParameters'
and the control won't render to the screen.

Now everything works fine at run time and the select parameters I've defined
operate great, but we're getting to the point where UI types will be getting
in here and messing with stuff and need to be able to access the control
which contains this data source.

I've looked around and it seems that the problem is the result of not having
the correct attributes set on the propery or the class.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!