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); } }
protected void dataSaved(UcControlArgs args) { if (ProfileSaveButton != null) { ProfileSaveButton(this, args); } }
protected void goBack(UcControlArgs args) { if (ConnectBack != null) { ConnectBack(this, args); } }
protected void goBack(UcControlArgs args) { if (ProfileBackButton != null) { ProfileBackButton(this, args); } }
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); } }
protected void DetailsView_ItemUpdated(object sender, DetailsViewUpdatedEventArgs e) { UcControlArgs args = new UcControlArgs(); args.Id = profileId; args.IsNew = false; dataSaved(args); }
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); }
///--------------------------------------------------------------------------------- protected void btnBack_Click(object sender, EventArgs e) { UcControlArgs args = new UcControlArgs(); goBack(args); }