Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Parameters for ObjectDatasources

Thread Tools

Parameters for ObjectDatasources

Brennan Stehling
Posts: n/a
When I drag a GridView onto a page and attach a new ObjectDatasource I
can select controls which will provide the parameters to the
ObjectDatasource. By default it lists TextBoxes and ListBoxes but I
have a User Control which acts as a date range control and it exposes a
couple of properties, StartDate and EndDate. I want to be able to
select this User Control and assign these properties as parameters from
the form, yet I am not given that option.

I can still change the control and property name values manually in the

Is there a way to mark these properties or this User Control with an
attribute so that it is picked up in the visual form like a TextBox

Brennan Stehling

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
skipping template parameters inside template parameters kito C++ 2 09-26-2010 12:04 AM
ObjectDataSources =?Utf-8?B?Um9iZXJ0byBOdW5lcw==?= ASP .Net 1 10-17-2006 01:02 PM
Class Member Data and Member Function Parameters - Should Parameters Be Data Members? Jason C++ 2 05-13-2006 07:11 AM
does a "parameters"-parameter overwrite the "parameters"-object? Florian Loitsch Javascript 11 03-15-2005 03:33 PM
Servlet parameters different from the command line parameters? Jonck van der Kogel Java 2 05-26-2004 11:34 PM