New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


  • Data
  • Data Validation
  • Cut
  • Copy
  • Paste
  • Hide
  • Unhide
  • Delete
  • Hide
  • Unhide
  • Delete

This example shows the data validation in Telerik ASP.NET AJAX Spreadsheet control. You can select a cell and apply a validation criteria through the provided Data Validation dialog. The available criteria options are AnyValue, Number, Text, Date and Custom Formula. You can also ignore the blank cells, reject the input value or show a warning dialog with your own hint message. as well as remove the validation as well as remove the validation.

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="DefaultVB.aspx.vb"  Inherits="Spreadsheet.Examples.Validation.DefaultVB" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html>
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container no-bg">
        <telerik:RadSpreadsheet runat="server" ID="RadSpreadsheet1">
                <telerik:SpreadsheetToolbarTab Text="Data">
                        <telerik:SpreadsheetTool Name="Validation" ShowLabel="true" />

Support & Learning Resources

Find Assistance