-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSettingsDetailScience.ascx.cs
63 lines (60 loc) · 1.54 KB
/
SettingsDetailScience.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
using System;
using System.Web.UI.WebControls;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Services.Exceptions;
using DotNetNuke.UI.UserControls;
namespace ObserverOfScience
{
public partial class SettingsDetailScience : ModuleSettingsBase
{
/// <summary>
/// Handles the loading of the module setting for this control
/// </summary>
// public override void LoadSettings ()
// {
// try
// {
// if (!IsPostBack)
// {
// Localize ();
//
// var settings = new DetailScienceSettings (this.ModuleId, this.TabModuleId);
//
// if (!string.IsNullOrWhiteSpace (settings.Template))
// {
// txtTemplate.Text = settings.Template;
// }
// }
// }
// catch (Exception ex)
// {
// Exceptions.ProcessModuleLoadException (this, ex);
// }
// }
//
// /// <summary>
// /// Localizes native ASP.NET controls.
// /// DotNetNuke controls have localization of their own.
// /// </summary>
// private void Localize ()
// {
// // someControl.Value = Localization.GetString ("SomeControl.Text", LocalResourceFile);
// }
//
// /// <summary>
// /// handles updating the module settings for this control
// /// </summary>
// public override void UpdateSettings ()
// {
// try
// {
// var settings = new DetailScienceSettings (this.ModuleId, this.TabModuleId);
// settings.Template = txtTemplate.Text;
// }
// catch (Exception ex)
// {
// Exceptions.ProcessModuleLoadException (this, ex);
// }
// }
}
}