/DesktopModules/AgapeUK/QuickRender/ViewQuickRender.ascx.cs
C# | 31 lines | 30 code | 1 blank | 0 comment | 1 complexity | 1265b63e1046cfcf5b4c6b9531d48a63 MD5 | raw file
Possible License(s): BSD-3-Clause, Apache-2.0
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.IO;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- using DotNetNuke;
- namespace DotNetNuke.Modules.AgapeUK.QuickRender
- {
- public partial class ViewQuickRender : DotNetNuke.Entities.Modules.PortalModuleBase
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- if (!Page.IsPostBack)
- {
- try
- {
- string thisText = "";
- thisText = (string)Settings["ThisText"];
- phMain.Controls.Add(new LiteralControl(thisText));
- }
- catch (Exception ex)
- {
- phMain.Controls.Add(new LiteralControl("<p>You have yet to add anything to this, go to this module's settings.</p>"));
- }
- }
- }
- }
- }