-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathToken_View.ascx.cs
46 lines (37 loc) · 903 Bytes
/
Token_View.ascx.cs
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
39
40
41
42
43
44
45
#region Copyright
//
// Copyright (c) 2014
// by SatraBel
//
#endregion
#region Using Statements
using System;
using DotNetNuke.Entities.Modules;
using System.Web;
using Satrabel.OpenBlocks.Token;
#endregion
namespace Satrabel.OpenBlocks
{
public partial class Token_View : PortalModuleBase
{
#region Event Handlers
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
}
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
if (!Page.IsPostBack)
{
PlaceHolder1.Visible = IsEditable;
txtField.Text = (string)Settings["Token"];
lContent.Text = TokenReplaceUtils.Replace(txtField.Text);
//lContent.Text = (string)Settings["Token"];
//lContent.Text = Server.HtmlEncode(lContent.Text);
//txtField.Text = lContent.Text;
}
}
#endregion
}
}