Friday, August 21, 2009

Eval("info") Eval of HTML fields in C#

If you try manipulating Eval binding tags within HTML, chances are you are not able to and you will get nasty errors. The only way to do it is to handle the process via a method. For example:

<asp:checkbox id="chkSelect" runat="server" checked="'<%#">' />

public bool checkOrNot(object id)
{
return true;
}

No comments: