Silk skin

Spreadsheet - Validation

  • Data
  • Data Validation
  • Cut
  • Copy
  • Paste
  • Hide
  • Unhide
  • Delete
  • Hide
  • Unhide
  • Delete
Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

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.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs"  Inherits="Spreadsheet.Examples.Validation.DefaultCS" %>

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<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

Help Us Improve

Was this example helpful?