Hi,
I use the 9.2 Infragistics Suite and i use the AppStyling.StyleManager.Load function.
When i load my LOGIN FORM, i apply the template (ISL File) and it works then... when the user wants to change the theme, the method freeze... no exception, just freeze my application
the file exists and i'm sure that it already works...
Any ideas?
Thank you,
Kind Regards.
I've never heard of a case where loading an isl locks up the app. I'm not sure what could possibly be causing that.
My first recommendation is that you get the latest service release and see if that helps.
How to get the latest service release - Infragistics Community
If that doesn't help, then we will need to be able to duplicate the issue in order to find out what's happening. Perhaps you can create a small sample project that demonstrates the problem?
It is one that are included with netadvantage suite
here is the method that i use :
Public Function LoadStyleTemplate(ByVal aTheme As PStyleTemplate) As Boolean Dim themePath As New StringBuilder themePath.Append(Application.StartupPath).Append("\Assets\Styles\").Append(aTheme.Path) If themePath IsNot Nothing AndAlso File.Exists(themePath.ToString) Then AppStyling.StyleManager.Load(themePath.ToString) InfoSession.SelectedTheme = aTheme Return True Else Return False End If End Function
Which isl file are you using? Is it one of the ones included with NetAdvantage, or is it one of your own?
Can you duplicate the freeze in a small sample project?