sms247
sms247

Reputation: 4504

How to make checkbox editable in aspxgridview?

I need multiple selection of rows in a grid. I have done 1 with the selection command column, now I have inserted another check column, can anyone tell me how to make that column editable without using edit button? I am using DevExpress ASPxGridView Control.

Upvotes: 1

Views: 3382

Answers (2)

nksingh420
nksingh420

Reputation: 97

 <ItemTemplate>
         <asp:CheckBox Text="text" Checked="false" AutoPostBack="true" runat="server" />
 </ItemTemplate>

Upvotes: 1

Hans Derks
Hans Derks

Reputation: 1027

If I understand correctly you can add a ItemTemplate under Columns like this

<asp:TemplateField HeaderText="fieldname">
      <ItemTemplate>
            <asp:CheckBox ID="CheckBox1" runat="server" />
       </ItemTemplate>
</asp:TemplateField>

Upvotes: 1

Related Questions