Including files with a control

R

Ryan

I am attempting to make an ASP.NET server control (inheriting from
System.Web.UI.Control) and, when the control is dragged from the Visual
Studio toolbox, I'd like it to automatically copy some indlude files (images,
etc) to the user's web project. Is this possible?

Thanx
 
J

Jeff Bowman

Hi Ryan

I'm not exactly sure of this, but you might have a look at the
ControlDesigner.OnBehaviorAttached method.

HTH,
Jeff
 

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,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top