Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<
telerik:RadButton
ID
=
"RadButton1"
runat
"server"
Text
"btn"
ButtonType
"ToggleButton"
ToggleType
"CheckBox"
>
</
asp:CustomValidator
ErrorMessage
"RadButton1 is not checked"
"CustomValidator"
ClientValidationFunction
"Validation"
"RadButton2"
"val"
"StandardButton"
<script type=
"text/javascript"
function
Validation(sender, args) {
debugger;
var
RadButton1 = $find(
"<%=RadButton1.ClientID %>"
);
if
(RadButton1.get_checked() ==
true
) {
alert(
"RadButton1 is checked"
args.IsValid =
;
}
else
{
false
</script>