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

Image Export

You can export the ASP.NET AJAX RadSignature control to a PNG file by leveraging the the Kendo UI saveAs method.

To achieve this functionality, retrieve the base64 value of the Signature by using the get_value() method of the client-side Signature object:

<telerik:RadButton runat="server" ID="RadButton1" Text="Export as PNG" AutoPostBack="false" OnClientClicked="exportAsPngClicked" />

<telerik:RadSignature runat="server" ID="RadSignature1" Height="270" Width="400">
    <ClientEvents OnLoad="signatureLoad" />

<telerik:RadScriptBlock runat="server" ID="RadScriptBlock1">
        var signature;
        function signatureLoad(sender, args) {
            signature = sender;

        function exportAsPngClicked(sender, args) {
                dataURI: signature.get_value(),
                fileName: "signature.png"

See Also

In this article