protected void Page_Load(object sender, EventArgs e)
		{
			if (Tile == null) return;
			_userID = SessionObject.LoggedInUser.Page;
			_assessmentID = (Int32)Tile.TileParms.GetParm("assessmentID");
			_assessmentInfo = Thinkgate.Base.Classes.Assessment.GetConfigurationInformation(_assessmentID, _userID);

			SetElementVisibility();

			DataTable dtOnlineContFmt = Base.Classes.Assessment.GetOnlineContentFormat(_userID);
			for (Int32 i = 0; i < dtOnlineContFmt.Rows.Count; i++)
			{
				if (String.Compare(_assessmentInfo.OnlineContentFormat, (String)dtOnlineContFmt.Rows[i]["OnlineContentFormat"], true) == 0)
					lblOnlineContent.Text = (String)dtOnlineContFmt.Rows[i]["DisplayName"];
			}

			DataTable dtDistractorLabels = Base.Classes.Assessment.GetDistractorLabels(_assessmentInfo.NumDistractors, _userID);
			for (Int32 i = 0; i < dtDistractorLabels.Rows.Count; i++)
			{
				if (String.Compare(_assessmentInfo.DistractorLabels, (String)dtDistractorLabels.Rows[i]["Value"], true) == 0)
					lblDistLabels.Text = (String)dtDistractorLabels.Rows[i]["DistractorLabel"];
			}

			lblContentType.Text = _assessmentInfo.ContentType;
			lblNumDist.Text = _assessmentInfo.NumDistractors.ToString();
			lblScoreType.Text = _assessmentInfo.ScoreType;
			lblPerfLevels.Text = _assessmentInfo.PerformanceLevels;
			lblPrintCols.Text = _assessmentInfo.PrintColumns.ToString();
			lblPrintSA.Text = _assessmentInfo.PrintShortAnswer ? "Yes" : "No";
			lblSource.Text = _assessmentInfo.Source;
			lblNumForms.Text = _assessmentInfo.NumForms.ToString();
			lblIncFieldTest.Text = _assessmentInfo.IncludeFieldTest ? "Yes" : "No";
			lblAuthor.Text = _assessmentInfo.Author;
			lblLastEdit.Text = _assessmentInfo.LastEdited.ToShortDateString();
		}
		private void LoadAssessmentInfo()
		{
			if (Request.QueryString["xID"] == null)
			{
				SessionObject.RedirectMessage = "No assessment ID provided in URL.";
				Response.Redirect("~/PortalSelection.aspx", true);
			}
			else
			{
                _assessmentID = GetDecryptedEntityId(X_ID);
				_cacheKey = "AssessmentInfo_" + _assessmentID;

				if (!RecordExistsInCache(_cacheKey))
				{
					_assessmentInfo = Thinkgate.Base.Classes.Assessment.GetConfigurationInformation(_assessmentID, _userID);
					if(_assessmentInfo != null)
						Thinkgate.Base.Classes.Cache.Insert(_cacheKey, _assessmentInfo);
					else
					{
						SessionObject.RedirectMessage = "Could not find the assessment.";
						Response.Redirect("~/PortalSelection.aspx", true);
					}
				}
				else
					_assessmentInfo = (Base.Classes.AssessmentInfo)Cache[_cacheKey];
			}
		}