Knowledge Base

Snippets

22
Server.MapPath specifies the relative or virtual path to map to a physical directory. Server.MapPath(".") returns the current physica...

[Read the rest of this article...]

Posted in: C Sharp - C#
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...]

13
protected static string GenerateQueryStringParameters(HttpRequest request, params string[] queryStringKeys) { StringBuilder quer...

[Read the rest of this article...]

25
public string AddSpaceAfterComma(string myInput) { try { String text = myInput.ToString(...

[Read the rest of this article...]

string function, Regex
Posted in: C Sharp - C#
10
public static DateTime GetFirstDayOfNextMonth(DateTime startDate) { if (startDate.Month == 12) // its end of year , we need ...

[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
26
The following configuration must be defined: Enable the Guest Account Open up Local Group Policy Manager. Expand Computer Configurati...

[Read the rest of this article...]

03
Default login & password . . . . Access the router by going to 10.0.0.1 and using: admin / password to log into the router. Router, Comcast
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
Page 12 of 33First   Previous   7  8  9  10  11  [12]  13  14  15  16  Next   Last