Page view counter

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
    • Loading...
    • dsa1971
    • Joined on 10-11-2002, 5:23 PM
    • Posts 107
    • Points 107

    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
    • Loading...
    • datagrid
    • Joined on 05-23-2007, 1:01 PM
    • USA
    • Posts 461
    • Points 2,384

    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
    • Loading...
    • dsa1971
    • Joined on 10-11-2002, 5:23 PM
    • Posts 107
    • Points 107

    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
    • Loading...
    • dsa1971
    • Joined on 10-11-2002, 5:23 PM
    • Posts 107
    • Points 107

    Thanks.

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

    01-10-2008, 3:10 PM
    • Loading...
    • miggl
    • Joined on 12-13-2007, 9:16 PM
    • Posts 98
    • Points 35

    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)