Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
570
WebGrid's problem
posted

How can I find control which it is in the WebGrid's cell by c#?  There is page code at below:

<igtbl:TemplatedColumn>
    <HeaderStyle HorizontalAlign="center" />
        <HeaderTemplate>
            <asp:CheckBox ID="cbAll" runat="server" onclick="SelectAll(this.checked,this.id);" />
        </HeaderTemplate>
        <CellStyle HorizontalAlign="center" />
        <CellTemplate>
            <asp:CheckBox ID="cbSingle" runat="server" onclick="SelectSingle(this.checked,this.id);" />
        </CellTemplate>
</igtbl:TemplatedColumn>

I wish find which control's id is cbSingle in WebGrid's function that named DataBound, how can I do?