PDA

View Full Version : TABS PANEL CONTROL



thomas
Apr 06, 2009, 1:31 PM
hI,

I always get the following error when I switch from <Source> mode to <Design> mode inside the Visual Studio 2005.

Please check the following error message:


Error Creating Control - TabPanel1
Content ('</html></ext:TabPanel>') does not match any properties within a 'Coolite.Ext.Web.Tab', make sure it is well-formed

The compilation of project is fine. No error of compilation, but I can not click on <Design> tab.

Any body can help me please ?

Here, the exemple of source code:


<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="coolite.aspx.vb" Inherits="testCoolite._coolite" %>

<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head id="Head1" runat="server">

<title>Untitled Page</title>

</head>

<body>

&amp;nbsp;&amp;nbsp;

<ext:ScriptManager ID="ScriptManager1" runat="server"></ext:ScriptManager>

&amp;nbsp;&amp;nbsp;

<form id="form1" runat="server">

&amp;nbsp;&amp;nbsp;&amp;nbsp;<br />

<br />

&amp;nbsp; &amp;nbsp; &amp;nbsp;<br />

<br />

<br />

<br />

<table cellSpacing="0" cellPadding="1" border="0">

<tr><td>

<ext:TabPanel ID="TabPanel1" runat="server" ActiveTabIndex="0" Height="768" Width="1024">

<Tabs>

<ext:Tab runat="server" Title="Tab 1" ID="ctl61">

<Body>

<table cellSpacing="0" cellPadding="1" border="0">

<tr><td>

This is a testing

<ext:NumberField ID="NumberField1" runat="server" DecimalSeparator="," DecimalPrecision="4" BaseChars="<>=0123456789"></ext:NumberField>

</td></tr></table>

</Body>

</ext:Tab>

<ext:Tab runat="server" Title="Tab 2" ID="ctl64" >

</ext:Tab>

<ext:Tab runat="server" Title="Tab 3" ID="ctl67" >

</ext:Tab>

</Tabs>

</ext:TabPanel>

</td></tr></table>

</form>

</body>

</html>


Thank you,

geoffrey.mcgill
Apr 07, 2009, 1:42 AM
Hi thomas,

We are investigating this issue. 


Here's a couple other reports of the same/similar Visual Studio Design-Time defect.


http://forums.ext.net/showthread.php?threadid=7758-4-1.aspx

http://forums.ext.net/showthread.php?threadid=6279-4-1.aspx

http://forums.ext.net/showthread.php?threadid=7486-16-1.aspx



The Visual Studio Designer is a very buggy environment to develop for.

thomas
Apr 07, 2009, 9:34 AM
Hi Geoffrey,

Thank you for your support.

You know, I think that tag <Body> inside of <TAB> is confused with the main body tag of aspx page. Is it possible replacing the tag <Body> by something else like <BodyTemplate> for next version of coolite.

Thank you

Thomas