Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to create a Custom Data Source control which can be used to bind any data bindable control in SharePoint e.g. DVWP etc. No, I am not looking for custom navigation source :) What I have done so far is to

  1. Inherit from DataSourceControl, implement ExecuteScalar and return IEnumerable
  2. GACed it, register to SharePoint Page.
  3. Connected a DVWP from Code view as my data source control was not available in SharePoint DataSources pane.
  4. Worked perfectly and data was displayed. Now, I want to pass parameters collection similar to SelectParameters in SPDataSource but SharePoint Designer is not displaying my ParametersCollection property even though it is declared public.

Does any body know, how to create a SharePoint DataSource control which can be displayed in DataSources Pane, can have Parameters Collection like other data source controls?

I am using WSS 3.0 (yes, I am in stone age still...)

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.