Page view counter

Where is the Visual Studio 2008 Web Control Library Template

Last post 04-03-2008 4:12 AM by ranganh. 4 replies.

Sort Posts:

  • Where is the Visual Studio 2008 Web Control Library Template

    03-18-2008, 9:31 AM
    • Loading...
    • dq1211
    • Joined on 03-12-2008, 12:43 PM
    • Posts 7
    • Points 0

    Does a project exist for grouping user controls? Visual Studio 2005 had this template but it does not appear to exist in 2008.

    We will be creating several User Controls and would like them grouped accordingly.

     

    Thanks in advance for any responses.

  • Re: Where is the Visual Studio 2008 Web Control Library Template

    03-18-2008, 10:54 AM

    Did you mean custom controls? This template is in New | Project | VB/C# | Web -> ASP.NET Sever Control. You can add more controls after that.

    Thanks

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

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Where is the Visual Studio 2008 Web Control Library Template

    03-18-2008, 10:58 AM
    • Loading...
    • dq1211
    • Joined on 03-12-2008, 12:43 PM
    • Posts 7
    • Points 0

    We will just be creating User Controls that inherit from UserControl. These could all be grouped together under a 'Web Control Library' project template in previous versions of Visual Studio. I can't seem to find this is Visual Studio 2008/ Maybe they renamed it.

     

  • Re: Where is the Visual Studio 2008 Web Control Library Template

    03-18-2008, 11:51 AM
    Answer

    There was no user control library really. There was a 'Web Control Library' which was for custom controls. It was possible to add user controls there (ascx) but it was not something supported. I don't think ASCX files work in control libraries in VS 2008 since it was never a supported scenario. There is no concept of library for user controls, sorry.

    Thanks

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

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Where is the Visual Studio 2008 Web Control Library Template

    04-03-2008, 4:12 AM
    • Loading...
    • ranganh
    • Joined on 02-11-2004, 11:35 PM
    • India
    • Posts 2,428
    • Points 12,063

    Hi Mikhail,

    I work as an Evangelist for ASP.NET and Visual Studio.  I wanted to share the concern regarding the templates which we have been changing quite frequently in Visual Studio.

    In Visual Studio .NET 2003, it was pretty straight forward to create Web Control Library, Mobile Web Applications etc., since each of them had templates that were present in "Add - New - Project" quite prominently.

    In Visual Studio 2005, for some reason, the Web Control Library template was moved to 'File - New Project - Windows". Initially I found it very hard to figure this out.  I also posted an article on this http://geekswithblogs.net/ranganh/archive/2006/09/06/90370.aspx and you can see that quite a few of them had struggled to find this and benefited from the article.

    And now in Visual Studio 2008, it is moved to "File - New - Project - Web - ASP.NET Server Control" which is somewhere close.

    Similarly there is no "Mobile Web Form" shipped by default and people have to download it from the webdevtools blog, thanks to Omar Khan for creating and posting them.  Was is it left out intentionally? 

    Just that people get used to our templates and Visual Studio and changing them drastically makes it hard for people to figure out.

    Thanks,

    regards,
    Harish

    http://geekswithblogs.net/ranganh
Page 1 of 1 (5 items)