Knowledge Base

Snippets

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 v...

[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 GetUserProf...

[Read the rest of this article...]

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

[Read the rest of this article...]

DNN
Posted in: DNN, Custom Modules
16
Select ISNULL(NULLIF(GIBS_FBLineItems.ReportType, ''), '--Undefined--') as ReportType from GIBS_FBLineItems SQL
02
Solved on IIS7.Issue is in the web config the <modules tag needs to be changed to the following: <system.webServer>    <mod...

[Read the rest of this article...]

DNN, IIS 7
Posted in: DNN, Web.Config
06
public void GetPreviousAgents(string _AgentRole) { try { DotNetNuke.Security.Roles.RoleController objRoleController = new DotNetNuke.Securit...

[Read the rest of this article...]

DNN, GetUsersByRoleName, C#
27
#Body { background-image: url(/Portals/2/bg1.jpg);background-size: cover !important; background-attachment: fixed;}
Posted in: CSS, DNN
24
Area code with dashes, 1 and + sign <a href="tel:+1-555-555-1212">555-555-1212</a> Hyperlink Phone Number
Posted in: Web Design
Page 10 of 33First   Previous   5  6  7  8  9  [10]  11  12  13  14  Next   Last