forked from siteserver/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHelp.cs
More file actions
36 lines (33 loc) · 701 Bytes
/
Help.cs
File metadata and controls
36 lines (33 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System.Web.UI;
namespace SiteServer.BackgroundPages.Controls
{
public class Help : Control
{
public string HelpText
{
get
{
return ViewState["HelpText"] as string;
}
set
{
ViewState["HelpText"] = value;
}
}
public string Text
{
get
{
return ViewState["Text"] as string;
}
set
{
ViewState["Text"] = value;
}
}
protected override void Render(HtmlTextWriter writer)
{
writer.Write(Text);
}
}
}