protected void RefreshGrid()
    {
        if (pat == null && cus == null)
        {
            RadGrid1.DataSource = ctx.AnestheticServiceNotes.OrderByDescending(x => x.ServiceNoteDate);
        }
        else
        {
            if (pat != null)
            {
                RadGrid1.DataSource = CntAriCli.GetAnestheticServiceNotesByPerson(pat, ctx).OrderByDescending(x => x.ServiceNoteDate);
            }
            if (cus != null)
            {
                RadGrid1.DataSource = CntAriCli.GetAnestheticServiceNotesByPerson(cus, ctx).OrderByDescending(x => x.ServiceNoteDate);
            }
        }

        //RadGrid1.Rebind();
    }