DNN

Snippets


DNN

 www.DNNSoftware.com DNN DotNetNuke

NO Image:
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
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
17
Note that you must define a login page in the Admin/Site Settings module. if (!IsPostBack) { if (UserId == -1) { Response.Redirect(Globals....

[Read the rest of this article...]

16
UserInfo u = new UserInfo(); u = UserController.GetUserById(PortalId, DnnUserId);            ...

[Read the rest of this article...]

Posted in: DNN, Custom Modules
08
<asp:Button ID="Button1" runat="server" Text="Delete All Users" onclick="Button1_Click" /> using DotNetNuke.Entities.Users; protected void Bu...

[Read the rest of this article...]

07
To switch from 'humanfriendly' mode to 'advanced' mode, follow these steps: Take a backup of the web.config file for your site Open the ...

[Read the rest of this article...]

Posted in: DNN
17
Bind values from a custom table to a CheckBoxList bound from a DNN list public void UpdateTrueFalseQuestions() { try ...

[Read the rest of this article...]

21
Your SQL stored procedure: INSERT INTO Invoices (InvoiceNumber, InvoiceDate, SupplierID, ModuleID, CreatedOnDate, CreatedByUserID, PortalID) VALUES...

[Read the rest of this article...]

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