View Single Post
  #1 (permalink)  
Old October 1st, 2004, 02:09 PM
bekim bekim is offline
Friend of Wrox
 
Join Date: Jun 2004
Location: Alhambra, ca, USA.
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
Default DataList <a Href> Question in Roles.aspx

Hello
The code for Roles.aspx works fine but I can't view the code in Design view cuz I get an error: "Could Not open in Design View. Quote value differently inside a'<%..."value"...%>'block"
  How do I correct this error?

Code that works:
<asp:DataList id="RoleList" runat="server">
<ItemTemplate>
<a href="EditRole.aspx?RoleID=<%# DataBinder.Eval(Container.DataItem, "RoleID") %>"><%# DataBinder.Eval(Container.DataItem, "Description") %></a><br/>
</ItemTemplate>
</asp:DataList>


Can someone correct this code so I can see it in Design View. Thanks