Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Composite control

Thread Tools

Composite control

Peter Morris [Droopy eyes software]
Posts: n/a
Hi all

I'd like to create a "Navigator" control (dotnet 1.1). What I would like is
for this to contain a collection a NavigatorButton, where the
NavigatorButton can only exist as part of a NavigatorControl.

The NavigatorButton would be a sealed class but have a property ButtonType
which would be an enum of First, Previous, Next, Last, Insert, Delete,
Refresh, Custom.

Can anyone give me some pointers as to how to achieve this? I've never
written a composite ASP .net control before.



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
Composite vs non composite Controls Mike ASP .Net Web Controls 4 03-11-2005 05:47 AM
Losing Composite Control property that another Composite Control ... Chad ASP .Net Building Controls 0 02-01-2005 09:01 PM
Possible to create a composite control that has a child control that is a validator that validates the composite control itself? Jonathan Eric Miller ASP .Net Building Controls 2 07-22-2004 10:58 PM
Composite control with dynamic composite controls sleigh ASP .Net 1 02-12-2004 06:24 PM
Using Table control in a custom composite control. Control does not render properly in design time. ASP .Net 0 07-01-2003 09:26 PM