Customer controls runat="server"

Discussion in 'ASP .Net Web Controls' started by Van den Driessche Willy, May 15, 2006.

  1. I have a custom control that we always be
    runat="server"



    How can I prevent my control users from always having to specify this ?

    so instead of

    <MyPrefix:MyTitle runat="server"/>

    it should be just

    <MyPrefix:MyTitle/>
     
    Van den Driessche Willy, May 15, 2006
    #1
    1. Advertisements

  2. Of course it's not a customer control but a custom control ;-)
    "Van den Driessche Willy" <> wrote in
    message news:eI%...
    > I have a custom control that we always be
    > runat="server"
    >
    >
    >
    > How can I prevent my control users from always having to specify this ?
    >
    > so instead of
    >
    > <MyPrefix:MyTitle runat="server"/>
    >
    > it should be just
    >
    > <MyPrefix:MyTitle/>
    >
    >
    >
    >
     
    Van den Driessche Willy, May 15, 2006
    #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. Hazzard
    Replies:
    2
    Views:
    769
    Yan-Hong Huang[MSFT]
    Jul 23, 2003
  2. feng
    Replies:
    1
    Views:
    3,349
    Peter Rilling
    Feb 29, 2004
  3. Chris Kennedy

    Customer Server Control Events

    Chris Kennedy, Apr 6, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    376
    =?Utf-8?B?b25l?=
    Apr 6, 2004
  4. Martin Eyles

    active-x controls with runat="server"

    Martin Eyles, Apr 21, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    2,984
    Martin Eyles
    Apr 25, 2005
  5. Mr Newbie
    Replies:
    1
    Views:
    3,782
    Mr Newbie
    Nov 7, 2005
  6. Rolf Welskes
    Replies:
    3
    Views:
    460
    Walter Wang [MSFT]
    Oct 9, 2006
  7. Erland
    Replies:
    4
    Views:
    1,813
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tp?=
    Oct 14, 2006
  8. Replies:
    0
    Views:
    1,094
Loading...