I have validated all my controls but one and it is a checkbox on the form that needs to be validated that its checekd before submittal. How can I achieve this on a radgrid insert, I could do server side but looking for a client side solution.
<
FormTemplate
>
<
table
width
=
"100%"
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Enter Last Name First Name of User </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:TextBox
ID
=
"txtUser"
runat
=
"server"
Width
=
"260px"
></
asp:TextBox
>
<
asp:AutoCompleteExtender
ID
=
"txtUser_ACE"
runat
=
"server"
DelimiterCharacters
=
""
Enabled
=
"True"
ServiceMethod
=
"Findname"
ServicePath
=
"~/iMACService.asmx"
TargetControlID
=
"txtUser"
UseContextkey
=
"true"
MinimumPrefixLength
=
"2"
OnClientItemSelected
=
"SelectedName"
EnableCaching
=
"true"
CompletionInterval
=
"1"
/>
<
asp:TextBoxWatermarkExtender
ID
=
"txtName_WME"
runat
=
"server"
TargetControlID
=
"txtUser"
WatermarkText
=
"Enter Last Name First Name"
WatermarkCssClass
=
"WaterMark"
/>
<
asp:FilteredTextBoxExtender
ID
=
"txtUser_FTE"
runat
=
"server"
TargetControlID
=
"txtuser"
FilterType
=
"Custom, LowerCaseLetters, UpperCaseLetters"
></
asp:FilteredTextBoxExtender
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Enter EDIPI </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:TextBox
ID
=
"txtEDIPI"
runat
=
"server"
Width
=
"160px"
MaxLength
=
"10"
></
asp:TextBox
>
<
asp:RequiredFieldValidator
ID
=
"valEDIPI"
runat
=
"server"
ForeColor
=
"Red"
ControlToValidate
=
"txtEDIPI"
Display
=
"Dynamic"
SetFocusOnError
=
"true"
ErrorMessage
=
"* Enter EDIPI"
/>
<
asp:FilteredTextBoxExtender
ID
=
"txtEDIPI_FTE"
runat
=
"server"
TargetControlID
=
"txtEDIPI"
FilterType
=
"Numbers"
></
asp:FilteredTextBoxExtender
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Pick Type of Investigation </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:DropDownList
ID
=
"ddlInvestigation"
runat
=
"server"
Width
=
"165px"
></
asp:DropDownList
>
<
asp:RequiredFieldValidator
ID
=
"valInvest"
runat
=
"server"
ForeColor
=
"Red"
ControlToValidate
=
"ddlInvestigation"
Display
=
"Dynamic"
SetFocusOnError
=
"true"
ErrorMessage
=
"* Enter Investigation Type"
InitialValue
=
"0"
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Pick Date of Investigation </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:textbox
ID
=
"txtDtInvest"
runat
=
"server"
Width
=
"160px"
style
=
"cursor:pointer"
></
asp:textbox
>
<
asp:CalendarExtender
ID
=
"calExt"
runat
=
"server"
TargetControlID
=
"txtDtInvest"
PopupPosition
=
"BottomRight"
></
asp:CalendarExtender
>
<
asp:RequiredFieldValidator
ID
=
"valdtInvest"
runat
=
"server"
ForeColor
=
"Red"
ControlToValidate
=
"txtDtInvest"
Display
=
"Dynamic"
SetFocusOnError
=
"true"
ErrorMessage
=
"* Enter Investigation Date"
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Pick Clearance </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:DropDownList
ID
=
"ddlClearance"
runat
=
"server"
Width
=
"165px"
></
asp:DropDownList
>
<
asp:RequiredFieldValidator
ID
=
"valClear"
runat
=
"server"
ForeColor
=
"Red"
ControlToValidate
=
"ddlClearance"
Display
=
"Dynamic"
SetFocusOnError
=
"true"
ErrorMessage
=
"* Enter Clearance Level"
InitialValue
=
"0"
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Pick IT Level </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:DropDownList
ID
=
"ddlITLevel"
runat
=
"server"
Width
=
"165px"
></
asp:DropDownList
>
<
asp:RequiredFieldValidator
ID
=
"valItlevel"
runat
=
"server"
ForeColor
=
"Red"
ControlToValidate
=
"ddlITLevel"
Display
=
"Dynamic"
SetFocusOnError
=
"true"
ErrorMessage
=
"* Enter IT Level"
InitialValue
=
"0"
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Check Approval </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:CheckBox
ID
=
"cbApproval"
runat
=
"server"
Text
=
"I have done a background investigation of the above individual and approve."
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Check DisApprove </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:CheckBox
ID
=
"cbDisApprove"
runat
=
"server"
Text
=
"I have done a background investigation of the above individual and Disapprove."
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Uploaded 2875 </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:CheckBox
ID
=
"cbUpload"
runat
=
"server"
Text
=
"I have upload the original 2875 to FileNet Location."
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
></
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:LinkButton
ID
=
"lnkSubmit"
runat
=
"server"
text='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "Approve", "Update") %>'
CommandName='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "PerformInsert", "Update")%>'></
asp:LinkButton
>
<
asp:LinkButton
ID
=
"lnkCancel"
runat
=
"server"
CausesValidation
=
"false"
CommandName
=
"Cancel"
Text
=
"Cancel"
></
asp:LinkButton
>
</
td
>
</
tr
>
</
table
>
</
FormTemplate
>