Error Rendering Control on all controls in visual studio????

Last post 10-05-2006 7:02 PM by jcnet. 0 replies.

Sort Posts:

  • Error Rendering Control on all controls in visual studio????

    10-05-2006, 7:02 PM
    • Member
      568 point Member
    • jcnet
    • Member since 10-05-2006, 3:49 AM
    • Posts 310

    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" %>

Page 1 of 1 (1 items)