Login
Home
KB
Snippets
Current Articles
|
Archives
|
Search
C Sharp - C#
NO Image:
private void function()
24
Gridview RowDataBound Access Data Values
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 in:
C Sharp - C#
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
23
DNN Get User DisplayName
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 in:
C Sharp - C#
,
private void function()
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
19
Get DNN User Roles for Dropdown List
posted on January 19, 2020 08:20
public void GetRoles() { DotNetNuke.Security.Roles.RoleController rc = new DotNetNuke.Security.Roles.RoleController(); var myRoles = rc.G...
[Read the rest of this article...]
GetRoles()
,
DNN 9
Posted in:
C Sharp - C#
,
private void function()
Actions:
E-mail
|
Permalink
|
Comments (0)
02
DNN States Dropdown List
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 in:
C Sharp - C#
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
26
DisplayName Lookup by UserID
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 in:
C Sharp - C#
,
DNN
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
24
Check If Profile Property Exists
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 in:
C Sharp - C#
,
private void function()
,
DNN
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
11
Updating DnnCssInclude
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 in:
C Sharp - C#
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
02
Return Boolean as Yes or No
posted on February 02, 2019 12:01
public string ReturnBooleanAsYes_or_No(Boolean choice) { &...
[Read the rest of this article...]
bool
,
boolean
Posted in:
C Sharp - C#
,
private void function()
Actions:
E-mail
|
Permalink
|
Comments (0)
11
Get DNN Users Role Expiration Date
posted on May 11, 2018 10:59
DotNetNuke.Security.Roles.RoleController rolesController = new DotNetNuke.Security.Roles.RoleController(); UserRoleInfo role = rolesController.GetUser...
[Read the rest of this article...]
DNN User Roles
Posted in:
C Sharp - C#
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
25
Check if Value Exists in a Dropdown List
posted on April 25, 2018 06:06
ListItem lisource = ddlDonationSour...
[Read the rest of this article...]
Dropdown list
Posted in:
C Sharp - C#
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
Page 1 of 4
First
Previous
[1]
2
3
4
Next
Last