protected void back(object sender, UcControlArgs e)
 {
     if (BackToList != null)
     {
         BackToList(this, e);
     }
 }
 protected void goNext(UcControlArgs args)
 {
     if (ConnectNext != null)
     {
         ConnectNext(this, args);
     }
 }
 protected void handleError(UcControlArgs args)
 {
     if (ConnectError != null)
     {
         ConnectError(this, args);
     }
 }
Beispiel #4
0
 protected void dataSaved(UcControlArgs args)
 {
     if (ProfileSaveButton != null)
     {
         ProfileSaveButton(this, args);
     }
 }
 protected void goBack(UcControlArgs args)
 {
     if (ConnectBack != null)
     {
         ConnectBack(this, args);
     }
 }
Beispiel #6
0
 protected void goBack(UcControlArgs args)
 {
     if (ProfileBackButton != null)
     {
         ProfileBackButton(this, args);
     }
 }
Beispiel #7
0
 protected void goNext(UcControlArgs args)
 {
     if (ProfileNextButton != null)
     {
         ProfileNextButton(this, args);
     }
 }
 protected void next(object sender, UcControlArgs e)
 {
     if (Next != null)
     {
         Next(this, e);
     }
 }
        protected void view_Save(object sender, UcControlArgs e)
        {
            if (e.IsNew)
            {
                this.showTextMessage("The profile has been created");
                mvControl.ActiveViewIndex = 0;
            }
            else
            {
                this.showTextMessage("The profile has been saved");
                mvControl.ActiveViewIndex = 0;
            }


            gvList.DataBind();

            profileControl.ClearControlData();

            if (e.NavigateTo == "NEXT")
            {
                next(this, e);
            }
            else
            {
                back(this, e);
            }
        }
 protected void open(object sender, UcControlArgs e)
 {
     if (ProfileOpen != null)
     {
         ProfileOpen(this, e);
     }
 }
Beispiel #11
0
        protected void DetailsView_ItemUpdated(object sender, DetailsViewUpdatedEventArgs e)
        {
            UcControlArgs args = new UcControlArgs();

            args.Id    = profileId;
            args.IsNew = false;
            dataSaved(args);
        }
Beispiel #12
0
        protected void DetailsView_ItemInserted(object sender, DetailsViewInsertedEventArgs e)
        {
            UcControlArgs args = new UcControlArgs();

            args.Id         = profileId;
            args.IsNew      = true;
            args.NavigateTo = "NEXT";
            dataSaved(args);
        }
        //        ///---------------------------------------------------------------------------------
        protected void view_Back(object sender, UcControlArgs e)
        {
            if (e.Message != "")
            {
                this.showTextMessage(e.Message);
            }

            mvControl.ActiveViewIndex = 0;
            gvList.DataBind();

            profileControl.ClearControlData();

            back(this, e);
        }
        //        ///---------------------------------------------------------------------------------
        protected void view_Back(object sender, UcControlArgs e)
        {
            gvList.DataBind();

            back(this, e);
        }
Beispiel #15
0
        ///---------------------------------------------------------------------------------
        protected void btnBack_Click(object sender, EventArgs e)
        {
            UcControlArgs args = new UcControlArgs();

            goBack(args);
        }