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:RadRating
ID
=
"RadRating1"
runat
"server"
>
</
asp:CustomValidator
"CustomValidator1"
ErrorMessage
"Please rate"
ControlToValidate
OnServerValidate
"CustomValidator1_ServerValidate"
ForeColor
"Red"
br
/>
telerik:RadButton
"RadButton1"
Text
"RadButton"
protected
void
CustomValidator1_ServerValidate(
object
source, ServerValidateEventArgs args)
{
args.IsValid = (Int32.Parse(args.Value) > 0);
}