Files
Umbraco-CMS/components/macroRenderings/numeric.cs
Shandem f6d0d043b5 DO NOT DOWNLOAD. DOWNLOAT LATEST STABLE FROM RELEASE TAB
Created 4.1.0 branch

[TFS Changeset #55082]
2009-06-19 07:39:16 +00:00

47 lines
687 B
C#

using System;
namespace umbraco.macroRenderings
{
/// <summary>
///
/// </summary>
public class numeric : System.Web.UI.WebControls.TextBox, interfaces.IMacroGuiRendering
{
string _value = "";
public bool ShowCaption
{
get {return true;}
}
public string Value
{
get {
return base.Text;
}
set
{
this.Text = value;
_value = value;
}
}
protected override void OnInit(EventArgs e)
{
base.OnInit (e);
this.CssClass = "guiInputTextStandard";
this.Attributes.Add("style", "width: 30%");
}
public numeric()
{
//
// TODO: Add constructor logic here
//
}
}
}