Including files with a control

Discussion in 'ASP .Net Building Controls' started by Ryan, Aug 18, 2005.

  1. Ryan

    Ryan Guest

    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
     
    Ryan, Aug 18, 2005
    #1
    1. Advertisements

  2. Ryan

    Jeff Bowman Guest

    Hi Ryan

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

    HTH,
    Jeff
     
    Jeff Bowman, Aug 20, 2005
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.