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
345
Checkbox in row edit template
posted

since you seem to be the guru of this topic....got one more for you.  I got a field thats a Bit/Boolean and trying to use a checkbox in the rowedittemplate.

  <ig:RowEditingClientBinding ColumnKey="Core" ControlID="CoreCheckBox" GetValueJavaScript="$get({ClientID}).value"
                                            SetValueJavaScript="$get({ClientID}).value={value}" />

 

and of course this doesnt work

  • 33839
    Suggested Answer
    posted

    No problem, I'm glad to help.  I'll assume you are using a basic asp:CheckBox

    <ig:RowEditingClientBinding ColumnKey="Core" ControlID="CoreCheckBox
                                        GetValueJavaScript="$get({ClientID}).checked"
                                        SetValueJavaScript="$get({ClientID}).checked={value}" />

    This should do the trick.

    -Dave