protected void OnBackButton(object sender, System.EventArgs e)
 {
     int _questionId = -1;
     if (!(Request.QueryString["QuestionId"] != null && int.TryParse(Request.QueryString["QuestionId"], out _questionId)))
         _questionId = -1;
     Response.Redirect(UINavigator.LibraryTemplateReturnUrl() == null ?
        UINavigator.SurveyContentBuilderLink + (_questionId == -1 ? string.Empty : "?" + Constants.Constants.ScrollQuestionQstr + "=" + _questionId.ToString()) : UINavigator.LibraryTemplateReturnUrl());
 }
예제 #2
0
 protected void OnBackButton(object sender, System.EventArgs e)
 {
     Response.Redirect(UINavigator.LibraryTemplateReturnUrl() == null ?
                       UINavigator.SurveyContentBuilderLink + (_questionId == -1 ? string.Empty : "?" + Constants.Constants.ScrollQuestionQstr + "=" + _questionId.ToString()) : UINavigator.LibraryTemplateReturnUrl());
 }