We have complex WinForms UserControls that contain among other things Infragistics 8.2 controls (e.g., UltraTextEditor)…
What if anything do we need to do to get the Infragistics controls contained within these custom UserControls to respect and apply AppStyles?
AppStyling is application-wide. So any Infragistics controls anywhere in the application will pick up any Application Style Libraries loaded into memory. You do not have to do anything, as long as the UserControl is used within an Application that has a style library loaded into the StyleManager.
This doesn't seem to be the case when using partial views in an MVC project. The partial views contain Infragistic controls, but the styles do not apply and so they do not work effectively. Is there something extra that needs to be done in this situation?
Hi,
Aren't MVC partial views an ASP.Net thing? So you are using the Windows Forms controls in an ASP.Net application?
I'm not familiar with how that works, so I can't even guess why it's not working. The Windows Forms controls are not tested in ASP.Net as far as I am aware, so I don't think it's something we active support.
Perhaps there's something different about how domains or threads work in that environment.
Sorry, my mistake, I have posted in the wrong forum. I was trying to use your components in ASP.NET MVC partial views but the styling was not working correctly.