Could not open in Design view. Quote Values differently inside a '<%... "value" ...%>' block.

  • Thread starter Thread starter dfetrow410
  • Start date Start date
D

dfetrow410

I know the typical fix for this problem, but I am not sure how to fix
this line:

<a
href="javascript:poptastic('../WebPages/AdminViewAdminMessages.aspx?MessageId=<%#DataBinder.Eval(Container.DataItem,"MESSAGE_ID")%>')"><%#DataBinder.Eval(Container.DataItem,"SUBJECT")%></a>
 
Problem is that you have double quotes around MESSAGE_ID which conflict with
opening double quotes for href=.
 
Back
Top