• Login

Snippets

Entries for January 2020

27
<PagerStyle  CssClass="pagination-ys" />  .pagination-ys { /*display: inline-block;*/ padding-left: 0; margin...

[Read the rest of this article...]

GridView PagerStyle
Posted in: CSS
27
public void CreateList() { try { //create a placeholder entry - const string listName = "InventoryReportingType"; var listControll...

[Read the rest of this article...]

ListController()
25
Dim objRoleController As New RoleController Dim arrRoles As String() = CType(objRoleController.GetUserRoles(Me.PortalId, Me.UserInfo.Username.ToString...

[Read the rest of this article...]

DNN, Ventrian
Posted in: VbScript
25
 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 in: Custom Modules
23
private string GetDisplayName(int PortalId, int UserId) {     string UserDisplayName = "";     DotNetNuke.Enti...

[Read the rest of this article...]

DNN, DisplayName
22
public string FixTokens(string _myOriginal, string _myToken, string _myReplacement) {  try  {   string _ReturnValue = ""...

[Read the rest of this article...]

C#, token replacement
19
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
19
The list below is a few simple functions which I've come across for generating various dates based on the current date/time (using the Now() funct...

[Read the rest of this article...]

SSRS, Date/Time Functions
Posted in: SSRS
10
https://dnnsupport.dnnsoftware.com/hc/en-us/articles/360010074593-Enabling-the-File-Upload-Function-in-CKEditor

[Read the rest of this article...]

CKEditor
Posted in: DNN, Resource Links
02
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()