|
-
Oct 30th, 2006, 08:53 AM
#1
Thread Starter
Fanatic Member
Conversion to 2005 error
This code in one of my asp.net files is rejected. It says
"Cannot switch views. This end tag has no starting tag".
<a has the squiggly underline. As you can see it DOES have an end tag.
How can I turn off this kind of "error" checking.
<a href="../cons/order/promo1.aspx">
<asp:Image id="imgGroovy" runat="server" ImageUrl="./images/groovy.jpg"></asp:Image></CENTER>
</a>
-
Oct 30th, 2006, 09:21 AM
#2
Hyperactive Member
Re: Conversion to 2005 error
take that </center> tag out of between the end of your asp:Image and the </a>
If this post helps, please RATE MY POST!
Using Visual Studio 2005 SE
-
Oct 30th, 2006, 03:48 PM
#3
Re: Conversion to 2005 error
Dont use the obsolete <center> tag. Use either the css style ("ALIGN: center") or standard (align=center) property depending on your contol.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|