共用方式為


Query regarding the Web Control Library templates

Question

  • In Visual Studio 2005, on the File menu, point to New, and then click Project. In Project types, under C#, select Windows. Under Templates, select Web Control Library. In the Name field, type CustomSearchWebPart, and then click OK.
    But we are using vs2008, can you point me to the same document for vs2008 or tell me how to get an web control library template?

Answer

  1. The web control library in Visual studio 2005
    >> File - New - Project - Windows - Web Control Library
  2. The web control library in  Visual Studio 2008
    >> File - New - Project - Web - ASP.NET Server Control
    >> So, Its ASP.Net Server Control in VS 2008