protected void btnMoveTopic_Click(object sender, EventArgs e) { var forumTopic = this.ForumService.GetTopicById(this.TopicId); if (forumTopic != null) { if (!this.ForumService.IsUserAllowedToMoveTopic(NopContext.Current.User, forumTopic)) { string loginURL = SEOHelper.GetLoginPageUrl(true); Response.Redirect(loginURL); } string moveForumTopicURL = SEOHelper.GetMoveForumTopicUrl(forumTopic); Response.Redirect(moveForumTopicURL); } }