forked from extnet/Ext.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHtmlStringLiteralControl.cs
More file actions
38 lines (33 loc) · 979 Bytes
/
HtmlStringLiteralControl.cs
File metadata and controls
38 lines (33 loc) · 979 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
37
38
/********
* @version : 2.1.1 - Ext.NET Pro License
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2012-12-10
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web;
namespace Ext.Net
{
internal class HtmlStringLiteralControl : LiteralControl
{
#if MVC
IHtmlString htmlString;
public HtmlStringLiteralControl () : base()
{
}
public HtmlStringLiteralControl(IHtmlString htmlString) : base()
{
this.htmlString = htmlString;
}
protected override void Render(HtmlTextWriter output)
{
output.Write(this.htmlString.ToHtmlString());
}
#endif
}
}