DNN

Snippets

17

Note that you must define a login page in the Admin/Site Settings module.


if (!IsPostBack)
{
	if (UserId == -1)
	{
		Response.Redirect(Globals.NavigateURL(this.PortalSettings.LoginTabId));
	}
	GetNewSearchURL();
	LoadGrid();
	lblDailyEmails.Text = Localization.GetString("lblDailyEmails", this.LocalResourceFile);
	SetLinks();
}

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Name (required)

Email (required)

Website