where is the web control library template in visual studio 2008

Last post 01-10-2008 4:15 PM by Mikhail Arkhipov (MSFT). 6 replies.

Sort Posts:

  • where is the web control library template in visual studio 2008

    12-20-2007, 9:50 PM
    • Member
      114 point Member
    • dsa1971
    • Member since 10-11-2002, 5:23 PM
    • Posts 111

    Am I missing something?  I can't seem to find the web control library template in visual studio 2008.

  • Re: where is the web control library template in visual studio 2008

    12-21-2007, 12:30 AM
    • Contributor
      2,384 point Contributor
    • datagrid
    • Member since 05-23-2007, 1:01 PM
    • USA
    • Posts 461

    C# -> Windows -> WPF User Control Library

    Visual Basic -> Windows -> WPF User Control Library

    Das (http://aspalliance.com/author.aspx?uId=697)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Dont forget to click "Mark as Answer" on the post that helped you. This marks your thread as Resolved so we will all know you have been helped.
  • Re: where is the web control library template in visual studio 2008

    12-21-2007, 6:44 AM
    • Member
      114 point Member
    • dsa1971
    • Member since 10-11-2002, 5:23 PM
    • Posts 111

    I don't think that's what I am looking for.  That is a windows project template. 

  • Re: where is the web control library template in visual studio 2008

    12-21-2007, 4:53 PM
    Answer

    File | New | Project | Visual C# | Web -> ASP.NET Server Control. You can add more controls into the same project.

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: where is the web control library template in visual studio 2008

    12-21-2007, 5:04 PM
    • Member
      114 point Member
    • dsa1971
    • Member since 10-11-2002, 5:23 PM
    • Posts 111

    Thanks.

  • Re: where is the web control library template in visual studio 2008

    01-10-2008, 3:10 PM
    • Member
      35 point Member
    • miggl
    • Member since 12-13-2007, 9:16 PM
    • Posts 99

    Thanks, I was looking for this also. Following these steps the first thing I noticed is that there is no presentation (ASPX)  file to go along with the control.

    I have created a few web controls in various projects. For obvious reasons I would like to add them to a user control library so that we benefit from re-usability. How do I achieve these things?

     
     Thanks!

  • Re: where is the web control library template in visual studio 2008

    01-10-2008, 4:15 PM

    ASPX file does not make sense in a class library. Class library is client-side project (even with Web controls) so it is unable to run a Web server to display aspx page (aspx cannot be opened directly in a browser). You need to add a Web site project to the solution and add class library as a reference to the Web site.

    Did you create custom controls or user controls (ascx)? With custom controls you should only have class libraries, you may want to merge several into one. You cannot build library of user controls, user controls are not indended to be distributed in an assembly (compiled form).

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (7 items)