Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            var Model = new MyProfileStepFiveItem(Sitecore.Context.Item);

            lvParentTools.DataSource = Model.ToolkitItems.ListItems.Take(3).Select(x => new NavigationLinkItem(x));
            lvParentTools.DataBind();

            this.GoNow = Model.GoNowText;
        }
Пример #2
0
        protected void NextStep()
        {
            //if (!err)//no errors. Move the progression forward.
            //{
            if (mode == Constants.QueryStrings.Registration.ModeEdit)
            {
                Response.Redirect(MyProfileItem.GetMyProfilePage().GetUrl());
            }

            Response.Redirect(MyProfileStepFiveItem.GetCompleteMyProfileStepFive().GetUrl());
            //}
        }