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.NavigateURL(this.PortalSettings.LoginTabId));
	}
	GetNewSearchURL();
	LoadGrid();
	lblDailyEmails.Text = Localization.GetString("lblDailyEmails", this.LocalResourceFile);
	SetLinks();
}

Comments

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

Post Comment

Only registered users may post comments.