コード例 #1
0
    protected override void Page_Load(object sender, EventArgs e)
    {
        try
        {
            DataSet DatasetSystemConfigurationKeys = null;
            Streamline.DataService.SharedTables objSharedTables = new Streamline.DataService.SharedTables();
            DatasetSystemConfigurationKeys = objSharedTables.GetSystemConfigurationKeys();
            if (objSharedTables.GetSystemConfigurationKeys("PRINTFOURPRESCRIPTIONSPERPAGE", DatasetSystemConfigurationKeys.Tables[0]).ToUpper() == "YES")
            {
                HiddenFieldRXFourPrescriptionsperpage.Value = "Y";
            }

            //Added in ref to Task#2895
            if (System.Configuration.ConfigurationSettings.AppSettings["OpenFromSmartCare"].ToString().ToUpper() == "FALSE")
            {
                LinkButtonLogout.Style["display"]    = "block";
                LinkButtonStartPage.Style["display"] = "block";
            }
            this.txtPasword.Attributes.Add("onkeydown", "if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {document.getElementById('" + ButtonSign.ClientID + "').click();return false;}} else {return true}; ");
            _dtMedicationInteractionTemp = new MedicationList.MedicationInteractionsDataTable();
        }
        catch (Exception ex)
        {
        }
    }
コード例 #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        objMedicationLogin = new Streamline.UserBusinessServices.MedicationLogin();
        try
        {
            DataSet datasetSystemConfigurationKeys = null;
            Streamline.DataService.SharedTables objSharedTables = new Streamline.DataService.SharedTables();
            datasetSystemConfigurationKeys = objSharedTables.GetSystemConfigurationKeys();
            _logoPath = objSharedTables.GetSystemConfigurationKeys("CustomLogoPath", datasetSystemConfigurationKeys.Tables[0]);
            if (_logoPath == null)
            {
                _logoPath = "App_Themes/Includes/Images/logo.gif";
            }

            ButtonOk.Attributes.Add("onclick", "var varValidate=Validates(); return varValidate;");
            //-----------Code Adedd by Pradeep as per task#3329 on 3 March 2011 Start over here
            Session["DataSetPrescribedClientMedications"] = null;
            //-----------Code Adedd by Pradeep as per task#3329 on 3 March 2011 End over here
            if (!IsPostBack)
            {
                CommonFunctions.Event_Trap(this);
                //TextBoxUsername.Text = objMedicationLogin.getLastUserName().Trim();
                TextBoxUsername.Focus();
                HiddenFieldUseName.Value = TextBoxUsername.Text;
                //TextBoxPassword.Focus();
                DivLogin.Style.Add("display", "block");
            }
        }
        catch (Exception ex)
        {
            if (ex.Data["CustomExceptionInformation"] == null)
            {
                ex.Data["CustomExceptionInformation"] = "###Source Function Name - MedicationLogin--Page_Load(), ParameterCount -0 ###";
            }
            else
            {
                ex.Data["CustomExceptionInformation"] = "";
            }
            if (ex.Data["DatasetInfo"] == null)
            {
                ex.Data["DatasetInfo"] = null;
            }

            Streamline.BaseLayer.LogManager.LogException(ex, LogManager.LoggingCategory.General, LogManager.LoggingLevel.Error, this);
        }
        finally
        {
            objMedicationLogin = null;
        }
        //Below code was added by Vithobha for Engineering Improvement Initiatives- NBL(I): #283 In Rx login page(Chrome) after entering Usernae/Password and on enter Key, Password was clearing
        Page.Form.DefaultFocus  = TextBoxUsername.UniqueID;
        Page.Form.DefaultButton = ButtonLogon.UniqueID;
    }
コード例 #3
0
    public void ShowHidePatientContent()
    {
        DataSet datasetSystemConfigurationKeys = null;

        Streamline.DataService.SharedTables objSharedTables = new Streamline.DataService.SharedTables();
        datasetSystemConfigurationKeys = objSharedTables.GetSystemConfigurationKeys();
        if (objSharedTables.GetSystemConfigurationKeys("SWITCHRXMEDICATIONCONSENTOFF", datasetSystemConfigurationKeys.Tables[0]).ToUpper() == "Y")
        {
            ButtonPatientContent.Visible         = false;
            HiddenFieldDropDownListReports.Value = "Y";
            ButtonRunReport.Visible = false;
        }
    }
コード例 #4
0
    public void ShowHidePMPButton()
    {
        DataSet datasetSystemConfigurationKeys = null;

        Streamline.DataService.SharedTables objSharedTables = new Streamline.DataService.SharedTables();
        datasetSystemConfigurationKeys = objSharedTables.GetSystemConfigurationKeys();
        if (objSharedTables.GetSystemConfigurationKeys("DISPLAYPMPBUTTONINRX", datasetSystemConfigurationKeys.Tables[0]).ToUpper() == "YES")
        {
            string DisplayNameOfPMPButton = objSharedTables.GetSystemConfigurationKeys("DISPLAYNAMEOFPMPBUTTONINRX", datasetSystemConfigurationKeys.Tables[0]).ToString();
            if (DisplayNameOfPMPButton != "")
            {
                ButtonPMP.Text = DisplayNameOfPMPButton;
            }
            ButtonPMP.Visible = true;
        }
    }
コード例 #5
0
    /// <summary>
    /// Authenticates the credentials of the user
    /// </summary>
    /// <param name="twofactorObject"></param>
    /// <returns></returns>
    public TwoFactorAuthenticationResponse Authenticate(TwoFactorAuthenticationRequest TwoFactorAuthenticationRequest, string EventType)
    {
        TwoFactorAuthenticationResponse TwoFactorAuthenticationResponseObject = new TwoFactorAuthenticationResponse();
        string response = string.Empty;

        try
        {
            if (TwoFactorAuthenticationRequest != null)
            {
                string parameter = string.Empty;
                string twoFactorAuthenticationServiceURL            = string.Empty;
                Streamline.DataService.SharedTables objSharedTables = new Streamline.DataService.SharedTables();
                if (Streamline.UserBusinessServices.SharedTables.DataSetSystemConfigurationKeys != null)
                {
                    if (Streamline.UserBusinessServices.SharedTables.DataSetSystemConfigurationKeys.Tables.Count > 0)
                    {
                        twoFactorAuthenticationServiceURL = objSharedTables.GetSystemConfigurationKeys("TwoFactorAuthenticationServiceURL", Streamline.UserBusinessServices.SharedTables.DataSetSystemConfigurationKeys.Tables[0]);
                    }
                }

                WebClient client = new WebClient();
                client.Credentials = System.Net.CredentialCache.DefaultCredentials;

                client.Headers["Content-type"] = "application/json";

                MemoryStream stream = new MemoryStream();
                DataContractJsonSerializer serializer = new DataContractJsonSerializer(typeof(TwoFactorAuthenticationRequest));
                serializer.WriteObject(stream, TwoFactorAuthenticationRequest);

                byte[] data = client.UploadData(twoFactorAuthenticationServiceURL + "api/authenticate/" + TwoFactorAuthenticationRequest, "POST", stream.ToArray());

                stream     = new MemoryStream(data);
                serializer = new DataContractJsonSerializer(typeof(TwoFactorAuthenticationResponse));
                TwoFactorAuthenticationResponseObject = (TwoFactorAuthenticationResponse)serializer.ReadObject(stream);

                SetUserInformation(TwoFactorAuthenticationResponseObject.Passed, EventType);
            }
        }
        catch
        {
        }
        finally
        {
        }
        return(TwoFactorAuthenticationResponseObject);
    }
コード例 #6
0
    private string GetUseHTML5SignatureValue()
    {
        Streamline.DataService.SharedTables objSharedTables2 = new Streamline.DataService.SharedTables();
        string UseHTML5Signature = "N";

        if (Streamline.UserBusinessServices.SharedTables.DataSetSystemConfigurationKeys != null)
        {
            if (Streamline.UserBusinessServices.SharedTables.DataSetSystemConfigurationKeys.Tables.Count > 0)
            {
                UseHTML5Signature = objSharedTables2.GetSystemConfigurationKeys("UseHTML5Signature", Streamline.UserBusinessServices.SharedTables.DataSetSystemConfigurationKeys.Tables[0]);
                if (UseHTML5Signature == "")
                {
                    UseHTML5Signature = "N";
                }
            }
        }
        return(UseHTML5Signature);
    }
コード例 #7
0
    private string GetUseSignaturePadValue()
    {
        Streamline.DataService.SharedTables objSharedTables1 = new Streamline.DataService.SharedTables();
        string useSignaturePad = string.Empty;

        if (Streamline.UserBusinessServices.SharedTables.DataSetSystemConfigurationKeys != null)
        {
            if (Streamline.UserBusinessServices.SharedTables.DataSetSystemConfigurationKeys.Tables.Count > 0)
            {
                useSignaturePad = objSharedTables1.GetSystemConfigurationKeys("UseSignaturePad", Streamline.UserBusinessServices.SharedTables.DataSetSystemConfigurationKeys.Tables[0]);
                if (useSignaturePad != "N")
                {
                    useSignaturePad = string.Empty;
                }
            }
        }
        return(useSignaturePad);
    }
コード例 #8
0
    private string GetInstallSigPadDriverPromptValue()
    {
        Streamline.DataService.SharedTables objSharedTables = new Streamline.DataService.SharedTables();
        string InstallSigPadDriverPrompt = "Y";

        if (Streamline.UserBusinessServices.SharedTables.DataSetSystemConfigurationKeys != null)
        {
            if (Streamline.UserBusinessServices.SharedTables.DataSetSystemConfigurationKeys.Tables.Count > 0)
            {
                InstallSigPadDriverPrompt = objSharedTables.GetSystemConfigurationKeys("InstallSigPadDriverPrompt", Streamline.UserBusinessServices.SharedTables.DataSetSystemConfigurationKeys.Tables[0]);

                if (InstallSigPadDriverPrompt == "")
                {
                    InstallSigPadDriverPrompt = "Y";
                }
            }
        }
        return(InstallSigPadDriverPrompt);
    }
コード例 #9
0
ファイル: User.cs プロジェクト: JaganPaineedi/SvnGit
        public ArrayList GetPermission(int userID)
        {
            try
            {
                //DataSetSystemActions  added by Rishu to populate SystemActions Table Information
                Streamline.DataService.SharedTables objectDataService = null;
                objectDataService = new Streamline.DataService.SharedTables();

                using (SqlDataReader DataReaderSystemActions = objectDataService.getSystemActions(userID))
                {
                    ArrayList arraySystemActions = new ArrayList();
                    while (DataReaderSystemActions.Read())
                    {
                        arraySystemActions.Add(DataReaderSystemActions["ActionId"]);
                    }
                    DataReaderSystemActions.Close();
                    return(arraySystemActions);
                }
            }
            catch (Exception ex)
            {
                if (ex.Data["CustomExceptionInformation"] == null)
                {
                    ex.Data["CustomExceptionInformation"] = "";
                }
                else
                {
                    ex.Data["CustomExceptionInformation"] = "";
                }
                if (ex.Data["DatasetInfo"] == null)
                {
                    ex.Data["DatasetInfo"] = null;
                }

                throw (ex);
            }
            finally
            {
            }
        }
コード例 #10
0
    protected override void Page_Load(object sender, EventArgs e)
    {
        FileStream fs;
        TextWriter ts;
        string     _strScriptIds = "";
        ArrayList  ScriptArrays;
        string     _strChartScriptIds = "";
        ArrayList  ChartScriptArrays;
        bool       _strFaxSendStatus             = false;
        string     _strFaxFaildMessage           = "";
        Dictionary <string, string> filePathList = new Dictionary <string, string>();

        string imagePath = string.Empty;

        try
        {
            #region "error message color added by rohit ref. #121"
            Streamline.BaseLayer.CommonFunctions.SetErrorMegssageBackColor(LabelError);
            Streamline.BaseLayer.CommonFunctions.SetErrorMegssageForeColor(LabelError);
            #endregion

            string strPath  = "";
            string FileName = "";

            DataSet DatasetSystemConfigurationKeys = null;
            Streamline.DataService.SharedTables objSharedTables = new Streamline.DataService.SharedTables();
            DatasetSystemConfigurationKeys = objSharedTables.GetSystemConfigurationKeys();
            if (objSharedTables.GetSystemConfigurationKeys("PRINTFOURPRESCRIPTIONSPERPAGE", DatasetSystemConfigurationKeys.Tables[0]).ToUpper() == "YES")
            {
                Printheader.Text = "";
                Printfourprescriptionsperpage = "Y";
            }


            fs            = new FileStream(Server.MapPath("RDLC\\" + Context.User.Identity.Name + "\\Report.html"), FileMode.Create);
            ts            = new StreamWriter(fs);
            _strScriptIds = Request.QueryString["varScriptIds"].ToString();
            if (Request.QueryString["varChartScriptIds"] != null)
            {
                _strChartScriptIds = Request.QueryString["varChartScriptIds"].ToString();
            }
            _strFaxSendStatus = Convert.ToBoolean(Request.QueryString["varFaxSendStatus"]);

            string strPageHtml = "";
            ScriptArrays = new ArrayList();
            if (_strScriptIds.Contains("^"))
            {
                ScriptArrays = ApplicationCommonFunctions.StringSplit(_strScriptIds, "^");
            }
            else if (_strScriptIds.Contains(","))
            {
                ScriptArrays = ApplicationCommonFunctions.StringSplit(_strScriptIds, ",");
            }
            else
            {
                ScriptArrays = ApplicationCommonFunctions.StringSplit(_strScriptIds, ",");
            }

            ChartScriptArrays = new ArrayList();
            if (_strChartScriptIds.Contains("^"))
            {
                ChartScriptArrays = ApplicationCommonFunctions.StringSplit(_strChartScriptIds, "^");
            }
            else if (_strChartScriptIds.Contains(","))
            {
                ChartScriptArrays = ApplicationCommonFunctions.StringSplit(_strChartScriptIds, ",");
            }
            else
            {
                ChartScriptArrays = ApplicationCommonFunctions.StringSplit(_strChartScriptIds, ",");
            }

            if (_strFaxSendStatus == false)
            {
                _strFaxFaildMessage = "Script could not be faxed at this time.  The fax server is not available.  Please print the script or re-fax the script later.";
                strPageHtml        += "<span style='float:left;position:absolute;padding-left:30%;color:Red;text-align:center;font-size: 12px;font-family:Microsoft Sans Serif;'><b>" + _strFaxFaildMessage + "</b></span><br/>";
            }
            //End here
            for (int i = 0; i < ScriptArrays.Count; i++)
            {
                foreach (string file in Directory.GetFiles(Server.MapPath("RDLC\\" + Context.User.Identity.Name + "\\")))
                {
                    FileName = file.Substring(file.LastIndexOf("\\") + 1);
                    if ((FileName.IndexOf("JPEG") >= 0 || FileName.IndexOf("jpeg") >= 0) && (FileName.IndexOf(ScriptArrays[i].ToString()) >= 0))
                    {
                        strPageHtml += "<img src='.\\RDLC\\" + Context.User.Identity.Name + "\\" + FileName + "'  style='width:100%' />";
                        imagePath    = "RDLC\\" + Context.User.Identity.Name + "\\" + FileName;
                        filePathList.Add(FileName, imagePath);
                    }
                    strPath = "'..\\RDLC\\" + Context.User.Identity.Name + "\\" + FileName;
                    strPath = strPath.Replace(@"\", "/");
                }
            }

            //Get the Images from ChartScripts Folder
            for (int i = 0; i < ChartScriptArrays.Count; i++)
            {
                if (
                    Directory.Exists(
                        Server.MapPath("RDLC\\" + Context.User.Identity.Name + "\\" + "ChartScripts" + "\\")))
                {
                    foreach (
                        string file in
                        Directory.GetFiles(
                            Server.MapPath("RDLC\\" + Context.User.Identity.Name + "\\" + "ChartScripts" + "\\"))
                        )
                    {
                        FileName = file.Substring(file.LastIndexOf("\\") + 1);
                        if ((FileName.IndexOf("JPEG") >= 0 || FileName.IndexOf("jpeg") >= 0) &&
                            (FileName.IndexOf(ChartScriptArrays[i].ToString()) >= 0))
                        {
                            strPageHtml += "<img src='.\\RDLC\\" + Context.User.Identity.Name + "\\" +
                                           "ChartScripts" + "\\" + FileName + "'  style='width:100%' />";
                        }
                        strPath = "'..\\RDLC\\" + Context.User.Identity.Name + "\\" + "ChartScripts" + "\\" +
                                  FileName;
                    }
                }
            }

            //byte[] photo = org_logo(imagePath);
            string pageHTMLWithWatermark = string.Empty;

            bool printWithWatermark = false;
            int  drugCategory       = 0;
            Streamline.UserBusinessServices.DataSets.DataSetClientMedicationOrders _DataSetOrderDetails = Session["DataSetOrderDetails"] as DataSetClientMedicationOrders;
            string PharmacyName   = Convert.ToString(Session["PharmacyName"]);
            string OrderingMethod = Convert.ToString(Session["OrderingMethod"]);
            if (OrderingMethod.Contains("Elec"))
            {
                if (Session["MedicationOrderStatus"] != null && Convert.ToString(Session["MedicationOrderStatus"]).Equals("Successful") &&
                    Session["DrugCategory"] != null)
                {
                    drugCategory = Convert.ToInt32(Session["DrugCategory"]);
                    if (drugCategory >= 2)
                    {
                        foreach (KeyValuePair <string, string> imageParameters in filePathList)
                        {
                            string phyisicalPathName = AddWatermark(imageParameters.Value, imageParameters.Key, OrderStatus.Success);
                            pageHTMLWithWatermark += "<img src='.\\RDLC\\" + Context.User.Identity.Name + "\\" + phyisicalPathName + "'/>";
                            printWithWatermark     = true;
                        }
                    }
                }
                else if (Session["MedicationOrderStatus"] != null && !Convert.ToString(Session["MedicationOrderStatus"]).Equals("Successful") &&
                         Session["DrugCategory"] != null)
                {
                    drugCategory = Convert.ToInt32(Session["DrugCategory"]);
                    foreach (KeyValuePair <string, string> imageParameters in filePathList)
                    {
                        string phyisicalPathName = AddWatermark(imageParameters.Value, imageParameters.Key, OrderStatus.Failure);
                        pageHTMLWithWatermark += "<img src='.\\RDLC\\" + Context.User.Identity.Name + "\\" + phyisicalPathName + "'/>";
                        printWithWatermark     = true;
                    }
                }
            }
            else
            {
                if (Session["MedicationOrderStatus"] != null && !Convert.ToString(Session["MedicationOrderStatus"]).Equals("Successful") &&
                    Session["DrugCategory"] != null)
                {
                    drugCategory = Convert.ToInt32(Session["DrugCategory"]);
                    foreach (KeyValuePair <string, string> imageParameters in filePathList)
                    {
                        if (ChartScriptArrays.Count == 0)
                        {
                            string phyisicalPathName = AddOriginalPrescriptionImage(imageParameters.Value, imageParameters.Key);
                            pageHTMLWithWatermark += "<img src='.\\RDLC\\" + Context.User.Identity.Name + "\\" + phyisicalPathName + "'/>";
                            printWithWatermark     = true;
                        }
                    }
                }
                printWithWatermark = true;
            }

            ts.Close();
            if (printWithWatermark && pageHTMLWithWatermark != "")
            {
                Response.Write(pageHTMLWithWatermark);
            }
            else
            {
                strPageHtml = strPageHtml.Replace(@"\", "/");
            }
            Response.Write(strPageHtml);
            ScriptManager.RegisterStartupScript(LabelError, LabelError.GetType(), ClientID.ToString(), "printScript();", true);
        }
        catch (Exception ex)
        {
            Response.Write("Error While Generating Report" + ex.Message.ToString());
        }
        finally
        {
            fs                 = null;
            ts                 = null;
            _strScriptIds      = null;
            ScriptArrays       = null;
            ChartScriptArrays  = null;
            _strChartScriptIds = null;
        }
    }
コード例 #11
0
    protected override void Page_Load(object sender, EventArgs e)
    {
        try
        {
            base.Page_Load(sender, e);
            Streamline.BaseLayer.CommonFunctions.Event_Trap(this);
            //Added in ref to Task#2895
            if (System.Configuration.ConfigurationSettings.AppSettings["OpenFromSmartCare"].ToString().ToUpper() == "FALSE")
            {
                LinkButtonLogout.Style["display"]    = "block";
                LinkButtonStartPage.Style["display"] = "block";
            }
            if (DropDownListClients.DataSource != null)
            {
                DropDownListClients.SelectedIndex = 0;
            }

            #region "error message color added by rohit ref. #121"
            Streamline.BaseLayer.CommonFunctions.SetErrorMegssageBackColor(LabelError);
            Streamline.BaseLayer.CommonFunctions.SetErrorMegssageForeColor(LabelError);
            #endregion
            if (System.Configuration.ConfigurationSettings.AppSettings["OpenFromSmartCare"].ToString().ToUpper() == "TRUE")
            {
                //HomeImage.Visible = false;
            }
            //  Ref To #1566
            Streamline.DataService.SharedTables objSharedTables1 = new Streamline.DataService.SharedTables();
            DataSet datasetStaffPermissions = null;
            datasetStaffPermissions = objSharedTables1.GetPermissionforStaffToSeachClient((((StreamlineIdentity)Context.User.Identity)).UserId);
            DataTable dt = datasetStaffPermissions.Tables["StaffPermissionExceptions"];

            var dValue = from row in dt.AsEnumerable()
                         where row.Field <int>("PermissionTemplateType") == 5904 &&
                         row.Field <int>("PermissionItemId") == 8732
                         select row.Field <int>("StaffId");

            if (dValue.Count() != 0)
            {
                HiddenFieldIsStaffHasPermissionforClientsDropDown.Value = "true";
            }
            else
            {
                HiddenFieldIsStaffHasPermissionforClientsDropDown.Value = "false";
            }
            //ButtonViewHistory.Enabled = ((Streamline.BaseLayer.StreamlinePrinciple)Context.User).HasPermission(Permissions.ViewHistory);
            ButtonPrintList.Enabled            = ((Streamline.BaseLayer.StreamlinePrinciple)Context.User).HasPermission(Permissions.PrintList);
            ButtonReOrder.Enabled              = ((Streamline.BaseLayer.StreamlinePrinciple)Context.User).HasPermission(Permissions.ChangeOrder);
            ButtonRefillOrder.Enabled          = ((Streamline.BaseLayer.StreamlinePrinciple)Context.User).HasPermission(Permissions.ReOrder);
            ButtonAdjustDosageSchedule.Enabled = ((Streamline.BaseLayer.StreamlinePrinciple)Context.User).HasPermission(Permissions.AdjustDosageSchedule);
            ButtonPatientContent.Enabled       = ((Streamline.BaseLayer.StreamlinePrinciple)Context.User).HasPermission(Permissions.PatientConsent);
            ButtonCompleteOrder.Enabled        = ((Streamline.BaseLayer.StreamlinePrinciple)Context.User).HasPermission(Permissions.CompleteOrder);

            ShowHidePMPButton();
            ButtonPMP.Enabled = ((Streamline.BaseLayer.StreamlinePrinciple)Context.User).HasPermission(Permissions.PMP);

            HiddenFieldPermissionCheckButtonReOrder.Value       = ((Streamline.BaseLayer.StreamlinePrinciple)Context.User).HasPermission(Permissions.ChangeOrder) ? "Y" : "N";
            HiddenFieldPermissionCheckButtonRefillOrder.Value   = ((Streamline.BaseLayer.StreamlinePrinciple)Context.User).HasPermission(Permissions.ReOrder) ? "Y" : "N";
            HiddenFieldPermissionCheckButtonCompleteOrder.Value = ((Streamline.BaseLayer.StreamlinePrinciple)Context.User).HasPermission(Permissions.CompleteOrder) ? "Y" : "N";

            //Activate the MedicationClientPersonalInformation Control
            MedicationClientPersonalInformation1.showEditableAllergyList = true;
            MedicationClientPersonalInformation1.Activate();
            //Code added by Loveena in ref to Task#3234 2.3 Show Client Demographics on All Client Pages
            if (Session["DataSetClientSummary"] != null)
            {
                DataSet DataSetClientSummary = (DataSet)Session["DataSetClientSummary"];
                LabelClientName.Text = "";
                //Modified by Loveena in ref to Task#3265
                LabelClientName.Text = DataSetClientSummary.Tables["ClientInformation"].Rows[0]["ClientInformationLabel"].ToString();
            }
            ShowHidePatientContent();
        }
        catch (Exception ex)
        {
            if (ex.Data["CustomExceptionInformation"] == null)
            {
                ex.Data["CustomExceptionInformation"] = "";
            }
            else
            {
                ex.Data["CustomExceptionInformation"] = "";
            }
            if (ex.Data["DatasetInfo"] == null)
            {
                ex.Data["DatasetInfo"] = null;
            }
            Streamline.BaseLayer.LogManager.LogException(ex, LogManager.LoggingCategory.General, LogManager.LoggingLevel.Error, this);
        }
    }