Composite control

Discussion in 'ASP .Net Building Controls' started by Peter Morris [Droopy eyes software], May 15, 2006.

  1. 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.


    Thanks

    Pete
     
    Peter Morris [Droopy eyes software], May 15, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    736
  2. sleigh
    Replies:
    1
    Views:
    2,720
    sleigh
    Feb 12, 2004
  3. shapper
    Replies:
    6
    Views:
    969
    shapper
    Dec 26, 2007
  4. Chad
    Replies:
    0
    Views:
    241
  5. Mike

    Composite vs non composite Controls

    Mike, Mar 10, 2005, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    282
    Sundararajan
    Mar 11, 2005
Loading...

Share This Page