Login
Home
KB
Snippets
Current Articles
|
Archives
|
Search
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)
13
Generate QueryString Parameters
posted on April 13, 2014 05:34
protected static string GenerateQueryStringParameters(HttpRequest request, params string[] queryStringKeys) { StringBuilder queryS...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
private void function()
Actions:
E-mail
|
Permalink
|
Comments (0)
25
Add a Space After a Comma
posted on January 25, 2014 08:00
public string AddSpaceAfterComma(string myInput) { try { String text = myInput.ToString(); text...
[Read the rest of this article...]
string function
,
Regex
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
10
Get the First Day of Next Month in C#
posted on January 10, 2014 06:40
public static DateTime GetFirstDayOfNextMonth(DateTime startDate) { if (startDate.Month == 12) // its end of year , we need to a...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
private void function()
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)
26
Allowing Anonymous Access to a file share on Windows Server 2012
posted on October 26, 2013 10:00
The following configuration must be defined: Enable the Guest Account Open up Local Group Policy Manager. Expand Computer Configuration ...
[Read the rest of this article...]
Posted in:
Operating Systems
,
Windows Server 2012
Actions:
E-mail
|
Permalink
|
Comments (0)
03
xfinity (comcast) Modem/ Router Arris TG862
posted on October 03, 2013 13:37
Default login & password . . . . Access the router by going to 10.0.0.1 and using: admin / password to log into the router.
Router
,
Comcast
Posted in:
Networking Problems
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)
07
Activating Advanced Url Management
posted on September 07, 2013 09:39
To switch from 'humanfriendly' mode to 'advanced' mode, follow these steps: Take a backup of the web.config file for your site Open the web....
[Read the rest of this article...]
Posted in:
DNN
Actions:
E-mail
|
Permalink
|
Comments (0)
13
DIV Centering
posted on August 13, 2013 04:26
div id="content" This is a DIV block that is to be centered. I don't want the text to be centered, though, just the block. /div #content { w...
[Read the rest of this article...]
Posted in:
CSS
Actions:
E-mail
|
Permalink
|
Comments (0)
Page 11 of 32
First
Previous
6
7
8
9
10
[11]
12
13
14
15
Next
Last