新开发的一个ASP.NET Server Control 控件,在asp.net页面中,该控件的显示及设置正常,但运行时报错。100分助!!!
新开发的一个ASP.NET Server Control 控件,在asp.net页面中,该控件的显示及设置正常,但运行时报错:
Parser Error Message: Cannot create an object of type 'WebControls.ToolBarButton[]' from its string representation 'ToolBarButton[] Array' for the 'ToolBarButtonList' property.
说明:
属性ToolBarButtonList带有 Object Array[] 接口,在asp.net页面的设计界面的属性窗口能正常设置该对象属性,但运行报错。
html:
<cc1:webtoolbar id="WebToolBar1" runat="server" ToolBarButtonList="ToolBarButton[] Array" Width="12px" Height="2px"></cc1:webtoolbar>
Help!!!