Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i m just using a web control in a <td> of a table,((commented)<href>,hyperlink)and
button.but none of these control are working and following error occurs.

please help me to get rid out of this.

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 &#39;System.Web.UI.HtmlControls.HtmlTableCell&#39;. &#39;asp:Button&#39; is of type &#39;System.Web.UI.WebControls.Button&#39;.


same error with other controls

Source Error:
Line 161:&lt;%--&lt;a href=&quot;frmPoints.aspx&quot; id=&quot;hplstatus&quot; runat=&quot;server&quot; &gt;&lt;/a&gt;--%&gt;
Line 162:&lt;%--&lt;asp:HyperLink ID=&quot;hplstatus&quot; runat=&quot;server&quot; NavigateUrl=&quot;~/BPO/frmPoints.aspx&quot; Text=&quot;View Status&quot;  Width=&quot;68px&quot; Visible=&quot;False&quot; &gt;&lt;/asp:HyperLink&gt;--%&gt;
Line 163: &lt;asp:Button ID=&quot;btnstatus&quot; runat=&quot;server&quot; CssClass=&quot;Field_name1&quot;
Line 164: Font-Bold=&quot;True&quot; onclick=&quot;Button1_Click&quot; Text=&quot;View Status&quot; /&gt;
Line 165:&lt;/td&gt
Posted
Updated 22-Jun-11 19:50pm
v2

 
Share this answer
 
Comments
[no name] 24-Jun-11 5:09am    
Good Call Raja. My 5 too.
errors occurrs due to some properties were not functioning inside <td> tag.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900