/// <summary> /// /// </summary> /// <param name="e"></param> protected void DoProjectSearch(Caisis.UI.ClientScript.Ajax.CaisisAjaxEventArgs e) { callbackSearchType = e.ClientParams["SearchType"]; callbackSearchValue = e.ClientParams["SearchValue"]; e.ReturnValue = GetCallbackResult(); }
/// <summary> /// Ajax callback to dynamically rendered updated clinic list /// </summary> /// <param name="e"></param> protected void GetNewClinicList(Caisis.UI.ClientScript.Ajax.CaisisAjaxEventArgs e) { string physician = e.ClientParam; // populate clinic list BuildClinicList(physician); // return result to be rendered e.ReturnValue = PhysicianClinicRptr; }
/// <summary> /// /// </summary> /// <param name="e"></param> protected void DoProtocolSearch(Caisis.UI.ClientScript.Ajax.CaisisAjaxEventArgs e) { callbackSearchType = e.ClientParams["SearchType"]; callbackSearchValue = e.ClientParams["SearchValue"]; callbackType = e.ClientParams["CallbackType"]; callbackSortCol = e.ClientParams["CallbackSortCol"]; callbackStartIndex = e.ClientParams["CallbackStartIndex"]; callbackEndIndex = e.ClientParams["CallbackEndIndex"]; e.ReturnValue = GetProtocolSearchTable(); }
/// <summary> /// Ajax method for processing callback to set new session dataset /// </summary> /// <param name="e"></param> protected void SetNewClientSession(Caisis.UI.ClientScript.Ajax.CaisisAjaxEventArgs e) { bool datasetUpdated = false; string clientDatasetId = e.ClientParam; if (!string.IsNullOrEmpty(clientDatasetId)) { int datasetId = int.Parse(Security.CustomCryptoHelper.Decrypt(clientDatasetId)); // udpate dataset SetSessionDataset(datasetId); // clear patient SessionHandler sh = new SessionHandler(Session); sh.ClearCurrentPatient(); datasetUpdated = true; } e.ReturnValue = datasetUpdated.ToString().ToLower(); }