//protected void NextStep(object sender, EventArgs e)
        //{
        //    var p = (Default)this.Page;
        //    //InstallHelper.RedirectToNextStep(Page, Request.GetItemAsString("installStep"));
        //}

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            if (_repo == null)
            {
                throw new InvalidOperationException("Could not find repository with id " + RepoGuid);
            }

            //clear progressbar cache
            //InstallHelper.ClearProgress();

            if (_repo.HasConnection())
            {
                try
                {
                    var r = new org.umbraco.our.Repository();

                    rep_starterKits.DataSource = r.Modules();
                    rep_starterKits.DataBind();
                }
                catch (Exception ex)
                {
                    LogHelper.Error <LoadStarterKits>("Cannot connect to package repository", ex);
                    CannotConnect = true;
                }
            }
            else
            {
                CannotConnect = true;
            }
        }
		protected override void OnInit(EventArgs e)
		{
			base.OnInit(e);

            if (_repo == null)
            {
                throw new InvalidOperationException("Could not find repository with id " + RepoGuid);
            }

			//clear progressbar cache
            InstallHelper.ClearProgress();

			if (_repo.HasConnection())
			{
				try
				{
                    var r = new org.umbraco.our.Repository();

                    rep_starterKits.DataSource = r.Modules();
					rep_starterKits.DataBind();
				}
				catch (Exception ex)
				{
					LogHelper.Error<LoadStarterKits>("Cannot connect to package repository", ex);
					CannotConnect = true;

				}
			}
			else
			{
				CannotConnect = true;
			}
		}