<%@ Reference Control="~/UserControls/YesNo.ascx" %> <%@ Reference Control="~/UserControls/TrueFalse.ascx" %> <%@ Reference Control="~/UserControls/OpenEndedCommentsBox.ascx" %> <%@ Reference Control="~/UserControls/MatrixRatingScale.ascx" %> <%@ Reference Control="~/UserControls/MatrixTextBoxes.ascx" %> <%@ Reference Control="~/UserControls/MatrixMultiselectCheckboxes.ascx" %> <%@ Reference Control="~/UserControls/MatrixSingleSelectOptions.ascx" %> <%@ Reference Control="~/UserControls/OpenEndedOneLine.ascx" %> <%@ Reference Control="~/UserControls/SingleSelectOptionButtons.ascx" %> <%@ Reference Control="~/UserControls/DatabaseDropdown.ascx" %> <%@ Reference Control="~/UserControls/SingleSelectDropdown.ascx" %> <%@ Reference Control="~/UserControls/ConstantSum.ascx" %> <%@ Reference Control="~/UserControls/Ranking.ascx" %> <%@ Reference Control="~/UserControls/OpenEndedOneorMoreLines.ascx" %> <%@ Reference Control="~/UserControls/MultiSelectCheckboxes.ascx" %> <%@ Reference Control="~/UserControls/OpenEndedDate.ascx" %> <%@ Reference Control="~/UserControls/OpenEndedNumber.ascx" %> <%@ Reference Control="~/UserControls/PresentationMessage.ascx" %> <%@ Reference Control="~/UserControls/PresentationHtml.ascx" %> <%@ Reference Control="~/UserControls/PresentationImage.ascx" %> <%@ Reference Control="~/UserControls/PresentationHeading.ascx" %> <%@ Reference Control="~/UserControls/UserRegistration.ascx" %> <%@ Reference Control="~/UserControls/OpenEndedCalculated.ascx" %> <%@ Reference Control="~/UserControls/UploadFileIFrame.ascx" %> <%@ Reference Control="~/UserControls/MatrixTextDropdown.ascx" %> <%@ Reference Control="~/UserControls/OpenEndedNumberSlider.ascx" %> <%@ Reference Control="~/UserControls/DoubleMatrixSingleSelectOptions.ascx" %> <%@ Reference Control="~/UserControls/PresentationSound.ascx" %> <%@ Reference Control="~/UserControls/PresentationSoundFull.ascx" %> <%@ page language="c#" inherits="SelectSurveyNET.PageTakeSurvey, App_Web_eldekxxn" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %> <%@ Import Namespace="ClassApps.Common.Domain.Mapping" %> <%@ Import Namespace="ClassApps.Common.PageBuilder" %> <%@ Import Namespace="ClassApps.Common.PageBuilder.Html" %> <%@ Import Namespace="System.Linq" %> <%@ Import Namespace="System.Collections.Generic" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %> <%@ Reference Control="~/UserControls/Touch-OpenEndedNumberSlider.ascx" %> <%@ Reference Control="~/UserControls/ClickableImageMaps.ascx" %> <%@ Reference Control="~/UserControls/MatrixDynamicRow.ascx" %> <%@ Reference Control="~/UserControls/Captcha.ascx" %> <%@ Reference Control="~/UserControls/DatabaseCheckboxes.ascx" %> <%@ Reference Control="~/UserControls/DatabaseOptions.ascx" %> <%@ Reference Control="~/UserControls/PresentationHorizontalRule.ascx" %> <%@ Reference Control="~/UserControls/OpenEndedReviewCommentsBox.ascx" %> <%@ Reference Control="~/UserControls/DigitalSignature.ascx" %> <%=pageTitle%> <%=strTimerScript%> <%=strResponseTimerScript%> <%=scriptBlock%> <%=styleBlock%> <%=strSurveyStyleText%>
<%=templateHtmlTopBlock%> <%=surveyImageBlock%> <% if (Survey.TabNavigation == SurveyTabNavigationEnum.DisplayPageNumbers || Survey.TabNavigation == SurveyTabNavigationEnum.DisplayPageTitles) { var builder = new TabNavigationBuilder(); builder.SelectedIndex = actualPageNumber - 1; List surveyPages = null; for (var i = 1; i <= pageCount; i++) { var pageName = "Page " + i; if (Survey.TabNavigation == SurveyTabNavigationEnum.DisplayPageTitles) { if (surveyPages == null) surveyPages = Survey.Pages.OrderBy(p => p.PageNumber).ToList(); var page = surveyPages.ElementAtOrDefault(i - 1); if (page != null) pageName = page.Name; } builder.Links.Add(new Link(pageName, string.Format("javascript: navigateToPage({0})", i))); } HtmlUtility.WriteToStream(builder, Response.Output); } %>
<%=pageTitleBlock%> <%=pageIntroductionBlock%>
 
<%=pageProgressText%>
<%=pageProgressBar%>
 
     
 
<%=navTable%>
<%=templateHtmlBottomBlock%>
<%=hiddenFieldBlock%>