Auto Declare a Web User control (in the code behind) on Drop

Discussion in 'ASP .Net Web Controls' started by kwkahler, Aug 4, 2005.

  1. kwkahler

    kwkahler Guest

    Anyone remember how to make a Web User Control automatically declare itself
    in the code behind file when dragged to an aspx page?

    Today I always go into the code behind and manually write: Proteced myctrl1
    as myctrl

    I read about it once, but I can't find the documentation for it anymore.

    Thanks--

    William Kahler
    ..NET Developer, MCSD
    kwkahler, Aug 4, 2005
    #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. Ben Miller [msft]

    Re: Code Behind vs. no code behind: error

    Ben Miller [msft], Jun 27, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    570
    Alphonse Giambrone
    Jun 28, 2003
  2. Max
    Replies:
    7
    Views:
    3,565
    Kevin Spencer
    Jan 20, 2004
  3. Technical Support
    Replies:
    2
    Views:
    655
  4. linkswanted
    Replies:
    1
    Views:
    886
  5. Replies:
    5
    Views:
    254
Loading...

Share This Page