|
|
Custom Modules
DotNetNuke Custom Modules
NO
Image:
posted on May 24, 2024 08:57
protected void GridViewOrders_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
&nb...
[Read the rest of this article...]
posted on April 18, 2024 05:55
How to Add Javascript to a DNN Page header section in a Custom Module
protected override void OnInit(EventArgs e)
{
 ...
[Read the rest of this article...]
JavaScript,
Page Header Section
posted on January 27, 2020 08:52
public void CreateList()
{
try
{
//create a placeholder entry -
const string listName = "InventoryReportingType";
var listControll...
[Read the rest of this article...]
ListController()
posted on January 25, 2020 09:11
C# declare empty string array for Attachments
string[] arr = new string[] {};string[] arr = new string[] {};string[] attachments = new string[]...
[Read the rest of this article...]
posted on January 23, 2020 07:59
private string GetDisplayName(int PortalId, int UserId)
{
string UserDisplayName = "";
DotNetNuke.Enti...
[Read the rest of this article...]
DNN,
DisplayName
posted on January 02, 2020 07:31
Get a list of states using the DNN Lists
public void GetDropDownListStates()
{
try
{
// Get State Dropdown from DNN Lists
...
[Read the rest of this article...]
ListController()
posted on December 26, 2019 14:03
public string CreatedByUserName
{
get
{
if (createdByUserName == null)
{
int portalId = PortalController.Instance.GetCurrentPortalSettings()....
[Read the rest of this article...]
DNN UserController
posted on December 24, 2019 07:30
Check if a DNN TrueFalse (bool) profile property exists and if it doesn't create a new one
USE:
CheckProfilePropertyExistsTrueFalse("DoNotM...
[Read the rest of this article...]
DNN User Profile
posted on July 11, 2019 15:50
In the designer.cs file
OLD . . .
// protected global::DotNetNuke.UI.WebControls.DnnCssInclude DnnCssInclude1;
NEW . . .
protected glo...
[Read the rest of this article...]
DnnCssInclude
posted on December 26, 2018 15:15
// GET MODULE SETTINGS
var mc = new ModuleController();
var mi = mc.GetModule(1534);
var tSettings = mi.ModuleSettings; &...
[Read the rest of this article...]