Couldn't call cs method in client side
<p>I am trying to call my .cs method in client side to set the Checked attribute of <code>asp:checkbox</code>. My checkbox control is as follows:    </p>

<pre><code>&lt;asp:CheckBox ID="chkStatus" runat="server" Checked='&lt;%# ProcessEntityStatus(Eval("Deleted"))%&gt;' Text="Active" Enabled="false" /&gt;
</code></pre>

<p>Code behind method:</p>

<pre><code>public bool ProcessEntityStatus(bool value)
{
    if (!value)
    {
        return true;
    }
    else
    {
        return false;
    }
}
</code></pre>

<p>It doesn't work. Can any one help me please.</p>
