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.
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?
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