• Login

Snippets

15
I had a need for getting a property details for a SSR report and came up with the following store procedure  . . . I thought it might be useful t...

[Read the rest of this article...]

Ventrian Property Agent
01
@media print { a[href]:after { content: none !important; } } Printing
Posted in: CSS
26
DotNetNuke.Services.Log.EventLog.EventLogController objEventLog = new DotNetNuke.Services.Log.EventLog.EventLogController(); objEventL...

[Read the rest of this article...]

DNN Event Viewer
20
function SetCookie(cookieName, cookieValue, nDays) { var today = new Date(); var expire = new Date(); if (nDays == null || nDays == 0) nDa...

[Read the rest of this article...]

JavaScript
17
Place the following code in the HEAD of the html: P.pagebreakhere {page-break-before: always} Then place the following code in the BODY of the html...

[Read the rest of this article...]

Posted in: CSS
24
Get a list of the database names and database size in a sql server instance using tsql: EXEC sp_databases sp_databases
08
Try running . . . . exec sp_updatestats; SQL, DNN
30
function OpenDialog(url, height, width, title) { var vurl = url; var vheight = height; var vwidth = width; var vtitle...

[Read the rest of this article...]

DNN, jQuery, modal
Posted in: DNN, Custom Modules
27
using DotNetNuke.Entities.Profile; string _value = GetUserProfilePropertyValue("MyCustomProfileField").ToString(); public string GetUserProfil...

[Read the rest of this article...]

DNN, ProfileProperty
23
public void SetPageName(string PageName) { try { DotNetNuke.Framework.CDefault CustomPageName = (DotNe...

[Read the rest of this article...]

DNN
Posted in: DNN, Custom Modules
Page 9 of 32First   Previous   4  5  6  7  8  [9]  10  11  12  13  Next   Last