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

K

kwkahler

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top