Knowledge Base

Snippets

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: DNN, CSS
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
24
protected override void OnInit(EventArgs e) { base.OnInit(e); JavaScript.RequestRegistration(CommonJs....

[Read the rest of this article...]

14
UPDATE UserPortals SET IsDeleted = 1 WHERE (UserId > 5) SQL Script
Posted in: DNN
Page 15 of 52First   Previous   10  11  12  13  14  [15]  16  17  18  19  Next   Last