Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Implementing IDataSource

Thread Tools

Implementing IDataSource

Posts: n/a
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?


Andrew Cutforth - AJC Software -
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.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DataSourceID of .. must be the ID of a control of type IDataSource =?Utf-8?B?Sm9ieTY0?= ASP .Net 0 04-25-2007 08:02 PM
Implementing Interface Gomathi ASP .Net 1 11-17-2005 03:09 PM
Implementing the CORDIC algorithm without using Real Data Type Johnsy Joseph VHDL 2 10-29-2004 10:49 AM
Implementing E1 - E3 Dev VHDL 1 09-09-2004 09:06 AM
vhdl for implementing pre-fetch and an instruction cache Eqbal Z VHDL 3 11-16-2003 06:07 AM