GIF89;a GIF89;a using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class Controls_HelpButtonAjax : System.Web.UI.UserControl { public string Text { get { return LabHelp3.Text; } set { LabHelp3.Text = value; } } public string TextButton { get { return this.Button1.Text; } set { this.Button1.Text = value; } } public Unit Width { get { return this.Button1.Width; } set { this.Button1.Width = value; if (DivBg.Style["Width"] != null) { DivBg.Style["Width"] = value.ToString(); } else { DivBg.Style.Add("Width", value.ToString()); } } } public Unit Height { get { return this.Button1.Height; } set { this.Button1.Height = value; if (DivBg.Style["Height"] != null) { DivBg.Style["Height"] = value.ToString(); } else { DivBg.Style.Add("Height", value.ToString()); } } } public string imgUrl { get { return DivBg.Style["background-image"]; } set { DivBg.Style["background-image"] = value; } } protected void Page_Load(object sender, EventArgs e) { } }