Implementing IDataSource

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I need my own datasource control to connect to my business objects.

Interestingly when I implemented a descendant of
System.Web.UI.DataSourceControl it would never show up on my toolbox so I
have implemented System.Web.UI.Control descendant that supports the
System.Web.UI.IDataSource interface.

This works and I can connect my data source control up to grids etc and it
works fine.

The only problem is at design time it does not allow me to pick data fields
from a drop down list. I have to type in the field names manually.

Do I have to implement another interface other than IDataSource to make it
show the available fields in a drop down list at design time?

Thanks


--
Andrew Cutforth - AJC Software - www.ajcsoft.com
The best folder synchronize and directory compare tool available.
AJC Active Backup instantly archives every file you edit giving you
unlimited undo and automatic revision control. Never lose your data again.


.



Relevant Pages

  • Re: TPageControl descendant with drag&drop support for the pages
    ... I really was looking for a descendant of Delphis original TPageControl. ... P.S. to Bruno Fierens, This control is really easy to use, but I can't use ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Win32 Needs
    ... A "data-aware TVirtualTreeView descendant" of some other ... control, not some control descendant of some "data-aware ...
    (borland.public.delphi.non-technical)
  • Re: Looking for a TPageControl-like component with a sidebar
    ... I can certainly understand your desire for a page control ... descendant for this, as you are interested in using it in a very particular ... please note that the having separate TRzGroupBar and ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Out of memory exception problems
    ... The control in question is always a descendant of UserControl, ... file-explorer and select a few folders when the control is being created. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Custom Server Control Cant read design time property
    ... Microsoft Online Support ... | Subject: Re: Custom Server Control Can't read design time property ... |> ViewState, so at that time the ViewState of the control is still ... |> | Subject: Re: Custom Server Control Can't read design time property ...
    (microsoft.public.dotnet.framework.aspnet)