-
Notifications
You must be signed in to change notification settings - Fork 3
/
Loader.ascx.cs
44 lines (43 loc) · 1.59 KB
/
Loader.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
// ***********************************************************************
// Assembly : DataExpose
// Author : Jonathan Sheely
// Website : http://inspectorit.com
// License : New BSD License (BSD)
// Created : 12-03-2012
//
// Last Modified By : Jonathan Sheely
// Last Modified On : 12-06-2012
// ***********************************************************************
// <copyright file="Loader.ascx.cs" company="InspectorIT Inc">
// Copyright (c) InspectorIT Inc. All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DotNetNuke.Entities.Modules;
using InspectorIT.DataExpose.Components.Common;
namespace InspectorIT.DataExpose
{
/// <summary>
/// Class Loader
/// </summary>
public partial class Loader : CustomModuleBase
{
/// <summary>
/// Handles the Load event of the Page control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
protected void Page_Load(object sender, EventArgs e)
{
var adminControl = LoadControl("~/DesktopModules/InspectorIT/DataExpose/views/Admin.ascx") as views.Admin;
adminControl.ModuleConfiguration = this.ModuleConfiguration;
phOutput.Controls.Add(adminControl);
}
}
}