G
Guest
hey, all
This is a piece of code in my DataGrid, I just want to show a link in this
column. So I do it like this:
<asp:TemplateColumn HeaderText="De-active"> <ItemTemplate> <a
target=_self href="ScheduleStatusCheck.aspx?<%#
GetLink(DataBinder.Eval(Container, "DataItem.ID"), 0)%>">De-active</a>
</ItemTemplate>
</asp:TemplateColumn>
---------------------------------------------------
GetLink() is a public function.
But after I did this, when I go back to Design View mode, it says "Could not
open in Design View , Quote values differently inside a <%...."value".....%>"
block."
What does this error mean? How to work around this?
This is a piece of code in my DataGrid, I just want to show a link in this
column. So I do it like this:
<asp:TemplateColumn HeaderText="De-active"> <ItemTemplate> <a
target=_self href="ScheduleStatusCheck.aspx?<%#
GetLink(DataBinder.Eval(Container, "DataItem.ID"), 0)%>">De-active</a>
</ItemTemplate>
</asp:TemplateColumn>
---------------------------------------------------
GetLink() is a public function.
But after I did this, when I go back to Design View mode, it says "Could not
open in Design View , Quote values differently inside a <%...."value".....%>"
block."
What does this error mean? How to work around this?