Limiting number of control instances?

Discussion in 'ASP .Net Building Controls' started by lisa@starways.net, Apr 21, 2005.

  1. Guest

    Hey all,

    Is there a way of limiting the number of instances of a server control
    that the user can put on a form?

    I'm writing an interfaceless server control, and I want to make it
    impossible for the user to put more than one of them on a page.

    Is that possible? If so, how?

    Thanks,
    Lisa
     
    , Apr 21, 2005
    #1
    1. Advertisements

  2. Zarko Gajic Guest

    Lisa, see my thread "Only one instance of my control per Page" from
    04/25/2005.

    ~Zarko Gajic
    <> wrote in message
    news:...
    > Hey all,
    >
    > Is there a way of limiting the number of instances of a server control
    > that the user can put on a form?
    >
    > I'm writing an interfaceless server control, and I want to make it
    > impossible for the user to put more than one of them on a page.
    >
    > Is that possible? If so, how?
    >
    > Thanks,
    > Lisa
    >
     
    Zarko Gajic, Apr 26, 2005
    #2
    1. Advertisements

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. GregG
    Replies:
    5
    Views:
    32,249
    JasonJ
    Jul 11, 2007
  2. John Wohlbier
    Replies:
    2
    Views:
    553
    Josiah Carlson
    Feb 22, 2004
  3. Hung
    Replies:
    3
    Views:
    391
    Gordon Beaton
    Feb 27, 2007
  4. Replies:
    8
    Views:
    680
    James Stroud
    Jan 29, 2009
  5. LAL

    Textbox control - limiting input

    LAL, Jan 15, 2004, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    304
    Dan Forster
    Jan 21, 2004
  6. bj
    Replies:
    1
    Views:
    190
    Scott McNair
    Apr 16, 2004
  7. Darren
    Replies:
    0
    Views:
    151
    Darren
    Jul 13, 2003
  8. Patrick Paquet
    Replies:
    3
    Views:
    240
    Patrick Paquet
    Jan 29, 2004
Loading...