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

  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. 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. Jp Calderone
    Replies:
    0
    Views:
    939
    Jp Calderone
    Jun 28, 2005
  2. Hung
    Replies:
    3
    Views:
    298
    Gordon Beaton
    Feb 27, 2007
  3. bj
    Replies:
    1
    Views:
    131
    Scott McNair
    Apr 16, 2004
  4. Darren
    Replies:
    0
    Views:
    90
    Darren
    Jul 13, 2003
  5. Patrick Paquet
    Replies:
    3
    Views:
    136
    Patrick Paquet
    Jan 29, 2004
Loading...

Share This Page