Example #1
0
    void PersonDetail_PersonChanged(object sender, PersonChangedEventArgs e)
    {
        // Here, an owner has changed. We need to re-bind the owners column.

        // TODO: This resets the budget amounts to the values in the database, which is not really what we want.

        FinancialAccount account = (FinancialAccount)e.Cookie;

        account.Owner = e.NewPerson;

        FinancialAccounts accounts = GetRootLevelResultAccounts();

        this.RepeaterAccountBudgets.DataSource = accounts;
        this.RepeaterAccountBudgets.DataBind();

        // RebindTooltips();
    }
 void DetailView_PersonChanged(object sender, PersonChangedEventArgs e)
 {
     BindData(e.Person);
 }
Example #3
0
 private void ReceivedPersonChanged(PersonChangedEventArgs obj)
 {
     CurrentPerson = obj.ChangedPerson;
 }