Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unrecognized Escape Sequence in DataList template
Message
From
16/07/2008 09:31:21
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Unrecognized Escape Sequence in DataList template
Miscellaneous
Thread ID:
01331606
Message ID:
01331606
Views:
66
Hi all,

I am not too good with asp but working on it. I have a DataList control on my form and am trying to add the ItemTemplate. What I get is the page directive is underlined with a message of "Unrecognized escape sequence". This goes away when I remove the everything between the Item Template tags. Anybody know which part of this is the problem and what I can change to make it work? Thank You
<mm:mmDataList ID="dlPhotos" runat="server" RepeatColumns="5" 
     RepeatDirection="Horizontal" BindingSource="AlbumPhoto" AccessLevel="Full" 
     BindingSourceMember="" ControlID="00000000-0000-0000-0000-000000000000" 
     IsPostBack="False" SecuritySetup="True" UserFieldName="">
          <ItemTemplate>
	<a href='<%# Eval("Filename", "./PhotoGallery/{0}") %>' target="_blank">
		<asp:Image ID="PhotoImage" runat="server" Height="50px"
		ImageUrl='<%# Eval("Filename", "~\PhotoGallery\{0}") %>' 
		ToolTip='<%# Eval("Memo") %>' Width="50px" />
	</a>
          </ItemTemplate>
</mm:mmDataList>
Tim
Timothy Bryan
Next
Reply
Map
View

Click here to load this message in the networking platform