Last post Mar 06, 2006 11:13 AM by DarrellNorton
Mar 06, 2006 08:31 AM|SaMaster|LINK
Mar 06, 2006 11:13 AM|DarrellNorton|LINK
From the docs (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxerr_IDS_ERROR_FILTER_NESTEDDBLQUOTES.asp):
Before switching to Design view, the HTML Designer examines any code embedded within attribute values or
<SELECT> elements. If this message is displayed, both an embedded
<% %> block and one or more values inside it are enclosed in the same kind of quotes.
To respond to this message
When quoted values inside the <% %> block are enclosed in quotes different from those around the block itself, you can switch to Design view.
In the following markup, an embedded '<% %>' block retrieves the address of a Web page to complete the
href attribute of an <a> link element:
<a href='<%# fsURL("MyPage") %>'>Go</a>
Here is another valid syntax for the same statement. In this case, double quotes are placed around the embedded "<% %>" block, and single quotes around the parameter
'MyPage' that occurs within the block:
<a href="<%# fsURL('MyPage') %>">Go</a>
This enables you to switch to Design view. When you view this page in a Web browser and click this link, the
fsURL("MyPage") handler runs.