Files
Umbraco-CMS/components/umbraco.controls/ProgressBar.cs
PerPloug 5f92006bb6 WORK IN PROGRESS, GET THE STABLE SOURCE FROM THE DOWNLOADS TAB
Virtual Directory support, DLR compatible script engine

[TFS Changeset #63625]
2010-01-28 12:51:46 +00:00

26 lines
721 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
namespace umbraco.uicontrols
{
public class ProgressBar : System.Web.UI.WebControls.Image
{
private string _title = umbraco.ui.Text("publish", "inProgress", null);
public string Title { get; set; }
protected override void Render(System.Web.UI.HtmlTextWriter writer)
{
if(!string.IsNullOrEmpty(Title))
_title = Title;
base.ImageUrl = IO.SystemDirectories.Umbraco_client + "/images/progressBar.gif";
base.AlternateText = _title;
base.Render(writer);
}
}
}