protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
    {
        switch (e.Argument)
        {
        case "address":
            UscAddressGrid1.RefreshGrid(true);
            break;

        case "telephone":
            UscTelephoneGrid1.RefreshGrid(true);
            break;

        case "email":
            UscEmailGrid1.RefreshGrid(true);
            break;

        case "request":
            IList <Request> lr = (IList <Request>)Session["Requests"];
            pat = (Patient)Session["Patient"];
            CntAriCli.SetRequestAssociation(pat, lr, ctx);
            Session["Requests"] = null;
            Session["Patient"]  = null;
            string command = String.Format("PatientRecord({0});", pat.PersonId);
            RadAjaxManager1.ResponseScripts.Add(command);
            break;
        }
    }
Exemple #2
0
    protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
    {
        switch (e.Argument)
        {
        case "address":
            UscAddressGrid1.RefreshGrid(true);
            break;

        case "telephone":
            UscTelephoneGrid1.RefreshGrid(true);
            break;

        case "email":
            UscEmailGrid1.RefreshGrid(true);
            break;
        }
    }