PDA

View Full Version : A <br> causing problems in asp.net file.



Hk-
December 7th, 2002, 21:43
I have a index.aspx file that is giving me the ----s...

I get this error:
Server Error in '/' Application.
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: Type 'System.Web.UI.WebControls.Image' does not have a property named 'br'.

Source Error:

Line 19: </tr>
Line 20: </table>
Line 21: <br>
Line 22: <table width="700" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#990000">
Line 23: <tr>

but when i delete it, i gives an error about the <table> underneath.

I was working last night, all i did was add a few <asp:image> codes in....

Hk-
December 7th, 2002, 21:53
ah yes, i found the problem, very simple...

I fogot to add the end tag to the <asp:image> (forgot to add </asp:image>)