Error Rendering Control An unhandled exception has occurrred. Cannot instantiate type because there is no public parameterless constructor.
The pages run fine, the error is only visible in vs designer.
I have a master/content pages. A theme, webpart and custom control.
The master page:
<%@ Master Language="VB" %>
A content page :
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Process.aspx.vb" Inherits="Process" MasterPageFile="~/Default.master" Title="Process Rate Load" MaintainScrollPositionOnPostback="true" %>
parts of the web.config:
<pages styleSheetTheme="WinXP_Silver">
<controls><add src="~/usercontrols/menuWinXPThemes.ascx" tagName="menuWinXPThemes" tagPrefix="uc2"/></controls>
<namespaces><clear/><add namespace="System"/><add namespace="System.Collections"/> The control:
<%@ Control Language="VB" ClassName="menuWinXPThemes" %><%@ Implements Interface="System.Web.UI.WebControls.WebParts.IWebPart" %>