Quote
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: System.Web.UI.HtmlControls.HtmlTableCellCollection must have items of type 'System.Web.UI.HtmlControls.HtmlTableCell'. 'tr' is of type 'System.Web.UI.HtmlControls.HtmlTableRow'.
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: System.Web.UI.HtmlControls.HtmlTableCellCollection must have items of type 'System.Web.UI.HtmlControls.HtmlTableCell'. 'tr' is of type 'System.Web.UI.HtmlControls.HtmlTableRow'.
my code is below:
<table id = "table1" runat="server" >
<tr runat="server" ><td class = "grouping" style="background-color:gray;" colspan="2">Appearance</td></tr>
<tr runat="server" ><td><h3>Text</h3></td><td ><asp:TextBox runat="server" id = "textContent" class="attribute" /></td></tr>
<tr runat="server" ><td><h3>Image</h3></td><td><asp:FileUpload runat="server" ID = "imageContent" name = "fileImage" class="attribute" size="40" /></td></tr>
<tr runat="server" ><td><h3>Border Style</h3></td><td><asp:DropDownList runat="server" id = "borderContent" class = "attribute" ><asp:ListItem value = "NULL"></asp:ListItem><asp:ListItem value = "0" >False</asp:ListItem><asp:ListItem value = "1">True</asp:ListItem></asp:DropDownList></td></tr>
<tr runat="server" ><td><h3>Font Family</h3></td><td><asp:Textbox runat="server" id = "fontContent" class="attribute" /></td></tr>
<tr runat="server" ><td><h3>Font Size</h3></td><td><asp:TextBox runat="server" id = "sizeContent" onchange="numsOnly(this); " class="attribute"/></td></tr>
...
For some reason, i guess i was thinking that i could make it access the server without it actually being an asp control.

New Topic/Question
Reply



MultiQuote



|