Login
Home
KB
Snippets
Current Articles
|
Archives
|
Search
Custom Modules
DotNetNuke Custom Modules
NO Image:
27
Get DNN User Profile Property Value
posted on September 27, 2014 07:10
using DotNetNuke.Entities.Profile; string _value = GetUserProfilePropertyValue("MyCustomProfileField").ToString(); public string GetUserProfil...
[Read the rest of this article...]
DNN
,
ProfileProperty
Posted in:
DNN
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
23
Set Custom Page Name in DNN
posted on September 23, 2014 05:34
public void SetPageName(string PageName) { try { DotNetNuke.Framework.CDefault CustomPageName = (DotNe...
[Read the rest of this article...]
DNN
Posted in:
DNN
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
06
DNN GetUsersByRoleName for a Dropdown
posted on July 06, 2014 07:56
public void GetPreviousAgents(string _AgentRole) { try { DotNetNuke.Security.Roles.RoleController objRoleController = new DotNetNuke.Security.Rol...
[Read the rest of this article...]
DNN
,
GetUsersByRoleName
,
C#
Posted in:
C Sharp - C#
,
DNN
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
24
DNN Registration of jQuery and Plugins in DotNetNuke
posted on June 24, 2014 08:53
protected override void OnInit(EventArgs e) { base.OnInit(e); JavaScript.RequestRegistration(CommonJs.jQue...
[Read the rest of this article...]
Posted in:
DNN
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
17
DNN Check for Authentication and Redirect to Login Page
posted on April 17, 2014 06:44
Note that you must define a login page in the Admin/Site Settings module. if (!IsPostBack) { if (UserId == -1) { Response.Redirect(Globals.Naviga...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
DNN
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
16
Send a password reminder email from a custom module
posted on December 16, 2013 08:18
UserInfo u = new UserInfo(); u = UserController.GetUserById(PortalId, DnnUserId); &n...
[Read the rest of this article...]
Posted in:
DNN
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
08
Deleting All DNN Users from a Custom DNN Module
posted on September 08, 2013 10:25
<asp:Button ID="Button1" runat="server" Text="Delete All Users" onclick="Button1_Click" /> using DotNetNuke.Entities.Users; protected void Butt...
[Read the rest of this article...]
Posted in:
DNN
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
17
iDataReader loop to bind custom values to a CheckBoxList
posted on February 17, 2013 10:20
Bind values from a custom table to a CheckBoxList bound from a DNN list public void UpdateTrueFalseQuestions() { try ...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
private void function()
,
DNN
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
21
Return SCOPE IDENTITY from a stored procedure to your custom DNN module
posted on January 21, 2013 08:06
Your SQL stored procedure: INSERT INTO Invoices (InvoiceNumber, InvoiceDate, SupplierID, ModuleID, CreatedOnDate, CreatedByUserID, PortalID) VALUES (...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
DNN
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
14
Adding a Header Tag to a Custom DNN Module
posted on March 14, 2012 15:21
string htmlHeaderTags = null; LiteralControl htmlHeaderCtrl = new LiteralControl(); htmlHeaderTags = "<base target=\"_self\">"; htmlHeaderCtrl.T...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
DNN
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
Page 3 of 4
First
Previous
1
2
[3]
4
Next
Last