Knowledge Base

Snippets

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...]

Page 17 of 53First   Previous   12  13  14  15  16  [17]  18  19  20  21  Next   Last