Server Side Programming Overview
You can configure the settings of Signature UI Control and create its items in the code-behind via the Server-Side API of the control.
RadSignature Public Properties
For a list with the server-side properties of the control, see the Server-Side API of the RadSignature class. You can also find it in the IntelliSense in Visual Studio.
Create a RadSignature in the Code-behind:
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
protected void Page_Init(object sender, EventArgs e)
{
var signature = new RadSignature();
signature.ID = "RadSignature1";
signature.Skin = "Silk";
signature.Height = Unit.Pixel(200);
signature.Width = Unit.Pixel(400);
signature.BackColor = System.Drawing.Color.Wheat;
signature.ForeColor = System.Drawing.Color.DarkBlue;
signature.FillMode = RadSignatureFillMode.Outline;
signature.HideLine = true;
PlaceHolder1.Controls.Add(signature);
}
Protected Sub Page_Init(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Init
Dim signature = New RadSignature()
signature.ID = "RadSignature1"
signature.Skin = "Silk"
signature.Height = Unit.Pixel(200)
signature.Width = Unit.Pixel(400)
signature.BackColor = System.Drawing.Color.Wheat
signature.ForeColor = System.Drawing.Color.DarkBlue
signature.FillMode = RadSignatureFillMode.Outline
signature.HideLine = True
PlaceHolder1.Controls.Add(signature)
End Sub