Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4165
Style Manager Load event is hanging Application
posted

Hello,

When we run this code the application in production (on many client systems) is hanging the application.

         if (style == 1)
                                        {
                                            if (System.IO.File.Exists(@"styles\black.isl"))
                                            {
                                                Infragistics.Win.AppStyling.StyleManager.Load(@"styles\black.isl");
                                            }
                                        }
                                        else if (style == 2)
                                        {
                                            if (System.IO.File.Exists(@"\styles\silver.isl"))
                                            {
                                                Infragistics.Win.AppStyling.StyleManager.Load(@"styles\silver.isl");
                                            }
                                        }
                                        else if (style == 3)
                                        {
                                            if (System.IO.File.Exists(@"styles\blue.isl"))
                                            {
                                                Infragistics.Win.AppStyling.StyleManager.Load(@"styles\blue.isl");
                                            }
                                        }
                                        else if (style == 4)
                                        {
                                            if (System.IO.File.Exists(@"styles\green.isl"))
                                            {
                                                Infragistics.Win.AppStyling.StyleManager.Load(@"styles\green.isl");
                                            }
                                        }
                                        else if (style == 5)
                                        {
                                            if (System.IO.File.Exists(@"styles\Claymation.isl"))
                                            {
                                                Infragistics.Win.AppStyling.StyleManager.Load(@"styles\Claymation.isl");
                                            }
                                        }

We have been using these ISL's for years but this has only started happening recently. 


We are using this version of the DLL:

18.1.20181.88

Thanks for the help,

M.

Parents
No Data
Reply
  • 6120
    Offline posted

    Hello,

    Please clarify whether the styles you are using are from the latest version or from any previous version. If they are from any previous version try using the isl files from the latest version and let me know the result.

    I will continue to look into this issue as soon as I hear from you.

Children
No Data