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

Appearance

  • Demo Configurator
  • Border Rounding
    Medium
  • Brush Color
    Pick Color(Current Color is blank)
  • Size
    Medium
  • Background Color
    Pick Color(Current Color is blank)

This demo of RadSignature for ASP.NET AJAX control showcases how the user can modify the background color and the brush size and color.

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
  • scripts.js
<%@ Page Language="vb" AutoEventWireup="true" CodeFile="DefaultVB.aspx.vb" Inherits="Telerik.Web.Examples.Signature.Appearance.DefaultVB"  %>

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

<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
</head>

<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script type="text/javascript" src="scripts.js"></script>
    </telerik:RadCodeBlock>
    <div class="demo-container size-wide">
        <telerik:RadSignature runat="server" ID="RadSignature1" Height="270" Width="100%">
            <ClientEvents OnLoad="signatureLoad" />
        </telerik:RadSignature>
    </div>

    <qsf:ConfiguratorPanel runat="server" ID="ConfiguratorPanel1">
        <Views>
            <qsf:View>
                <qsf:ConfiguratorColumn ID="ConfiguratorColumn9" runat="server" Size="Narrow">
                    <ul class="fb-group">
                        <li>
                            <span class="label">Fill Mode</span>
                            <qsf:DropDownList runat="server" ID="ddlSignatureFillMode" AutoPostBack="false" Width="120" SelectedText="Outline" OnClientSelectedIndexChanged="fillModeChanged"></qsf:DropDownList>
                        </li>
                        <li>
                            <qsf:NumericTextBox runat="server" ID="NumericTextBox1" AutoPostBack="false" Label="Brush size" Value="1" MinValue="0" Size="Narrow">
                                <ClientEvents OnValueChanged="stokeWidthChanged" />
                                <NumberFormat DecimalDigits="0" />
                            </qsf:NumericTextBox>
                        </li>
                    </ul>
                </qsf:ConfiguratorColumn>
                <qsf:ConfiguratorColumn ID="ConfiguratorColumn2" runat="server" Size="Narrow">
                    <ul class="fb-group">
                        <li>
                            <span class="label">Border Rounding</span>
                            <qsf:DropDownList runat="server" ID="ddlSignatureBorderRoundingSize" AutoPostBack="false" Width="120" SelectedText="Medium" OnClientSelectedIndexChanged="roundingChanged"></qsf:DropDownList>
                        </li>
                        <li>
                            <qsf:ColorPicker runat="server" ID="ColorPicker1" ShowIcon="true" AutoPostBack="false" Label="Brush Color" Size="Narrow" OnClientColorChange="brushColorChange">
                            </qsf:ColorPicker>
                        </li>
                    </ul>
                </qsf:ConfiguratorColumn>

                <qsf:ConfiguratorColumn ID="ConfiguratorColumn4" runat="server" Size="Medium">
                    <ul class="fb-group">
                        <li>
                            <span class="label">Size</span>
                            <qsf:DropDownList runat="server" ID="ddlSignatureSize" AutoPostBack="false" Width="120" SelectedText="Medium" OnClientSelectedIndexChanged="sizeChanged"></qsf:DropDownList>
                        </li>
                        <li>
                            <qsf:ColorPicker runat="server" ID="ColorPicker2" ShowIcon="true" AutoPostBack="false" Label="Background Color" Size="Narrow" OnClientColorChange="backgroundColorChange">
                            </qsf:ColorPicker>
                        </li>
                    </ul>
                </qsf:ConfiguratorColumn>
            </qsf:View>
        </Views>
    </qsf:ConfiguratorPanel>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance