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

  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. 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. Martin Eyles

    active-x controls with runat="server"

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

Share This Page