views:

15

answers:

0

When a 'Update' is clicked the row shows the Edititem mode.

I have a check box that when it is 'clicked' I want the other fields to dissapear/become read-only.

How can this be done client or server side?

My best guess is for server side I have something like this below.. but then in the event how do I get access to those items in edit mode and change them ?

 <EditItemTemplate>
                                                        <asp:CheckBox ID="cbNR" runat="server" AutoPostBack="True" OnCheckedChanged="cbNR_Clicked"
                                                            Checked='<%# Boolean.Parse(Eval("NR").ToString()) %>' />
                                                    </EditItemTemplate>