protected new void Page_Init(object sender, EventArgs e)
        {
            base.Page_Init(sender, e);

            if (Tile == null) return;

            _level = (Base.Enums.EntityTypes)Tile.TileParms.GetParm("level");
            AttatchLevelToKeys();
            _category = (String)Tile.TileParms.GetParm("category");
            _levelID = (Int32)Tile.TileParms.GetParm("levelID");

        }
        protected new void Page_Init(object sender, EventArgs e)
        {
            base.Page_Init(sender, e);

            LoadReportScripts();

            if (Tile == null) return;

            _level = (Base.Enums.EntityTypes)Tile.TileParms.GetParm("level");
            _levelID = (Int32)Tile.TileParms.GetParm("levelID");
            _class = Tile.TileParms.GetParm("class") != null ? (Base.Classes.Class)Tile.TileParms.GetParm("class") : new Base.Classes.Class();
            _folder = Tile.TileParms.GetParm("folder").ToString();
            _selectID = (Int32?)Tile.TileParms.GetParm("selectID");
            _category = Tile.TileParms.GetParm("category") != null ? Tile.TileParms.GetParm("category").ToString() : string.Empty;

            AssessmentResults_level.Value = _level.ToString();
            AssessmentResults_levelID.Value = Standpoint.Core.Classes.Encryption.EncryptInt(_levelID);
            
            // set default tab
            SetDefaultTab();            
        }
        protected new void Page_Init(object sender, EventArgs e)
        {
            base.Page_Init(sender, e);

            if (Tile == null) return;

            _level = (Base.Enums.EntityTypes)Tile.TileParms.GetParm("level");
            AttatchLevelToKeys();
            _category = (String)Tile.TileParms.GetParm("category");
            _levelID = (Int32)Tile.TileParms.GetParm("levelID");

            //PLH - 01/15/2013 - Fix for forcing Classroom assessments to drill down to selected school in Classes folder only. 
            if (Tile.TileParms.Parms.ContainsKey("schoolID"))
            {
                _schoolID = (Int32)Tile.TileParms.GetParm("schoolID");
            }
            
            if (Tile.TileParms.GetParm("showCalendarIcon") != null)
            {
                _calendarIconVisible = DataIntegrity.ConvertToBool(Tile.TileParms.GetParm("showCalendarIcon"));
            }
        }
Ejemplo n.º 4
0
		protected new void Page_Init(object sender, EventArgs e)
		{
			base.Page_Init(sender, e);

			if (Tile == null || Tile.TileParms == null) return;

			_classID = DataIntegrity.ConvertToInt(Tile.TileParms.GetParm("selectID"));
			_term = DataIntegrity.ConvertToInt(Tile.TileParms.GetParm("term"));
			_planID = DataIntegrity.ConvertToInt(Tile.TileParms.GetParm("planID"));
			//_type = Tile.TileParms.GetParm("type").ToString();
			//COMMENT: RE this was breaking code, not sure what/if is required put a condition to protect from breaking
			if (Tile.TileParms.GetParm("type") != null)
				_type = Tile.TileParms.GetParm("type").ToString();

			if (Tile.TileParms.GetParm("level") != null)
				_level = (Base.Enums.EntityTypes)Tile.TileParms.GetParm("level");

			if (Tile.TileParms.GetParm("levelID") != null)
				_levelID = (Int32)Tile.TileParms.GetParm("levelID");

			if (Tile.TileParms.GetParm("showCalendarIcon") != null)
				_calendarIconVisible = DataIntegrity.ConvertToBool(Tile.TileParms.GetParm("showCalendarIcon"));

			_UseResourcesTileFilterToDisplay = (Tile.TileParms.GetParm("UseResourcesTileFilterToDisplay") ?? "").ToString().ToLower();

            _currCourseList = CourseMasterList.GetCurrCoursesForUser(SessionObject.LoggedInUser);

			_fullAccess = UserHasPermission(Permission.Resources_Access_All);
		}