C Sharp - C#

Snippets


C Sharp - C#

 

NO Image:
23
private string GetDisplayName(int PortalId, int UserId) {     string UserDisplayName = "";     DotNetNuke.E...

[Read the rest of this article...]

DNN, DisplayName
19
public void GetRoles() {  DotNetNuke.Security.Roles.RoleController rc = new DotNetNuke.Security.Roles.RoleController();  var myRoles = ...

[Read the rest of this article...]

GetRoles(), DNN 9
02
Get a list of states using the DNN Lists public void GetDropDownListStates() {  try  {   // Get State Dropdown from DNN...

[Read the rest of this article...]

ListController()
26
public string CreatedByUserName { get { if (createdByUserName == null) { int portalId = PortalController.Instance.GetCurrentPortalSetti...

[Read the rest of this article...]

DNN UserController
24
Check if a DNN TrueFalse (bool) profile property exists and if it doesn't create a new one USE: CheckProfilePropertyExistsTrueFalse("Do...

[Read the rest of this article...]

DNN User Profile
11
In the designer.cs file OLD . . .  // protected global::DotNetNuke.UI.WebControls.DnnCssInclude DnnCssInclude1; NEW . . .  prote...

[Read the rest of this article...]

DnnCssInclude
Page 1 of 7First   Previous   [1]  2  3  4  5  6  7  Next   Last