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
1615
AppStyle does not apply when ASP.NET website is run under .NET 4.0
posted

Hello, I have come across an issue which prevents me to upgrade our application to .NET 4.0 As soon as I convert the project (web.config) and .NET Framework to 4.0, the application styling stops rendering and I see all controls rendered as just frames (see the attached image for an example of a UltraWebGrid control). I have the following code in my new web.config (which used to work fine for .NET 3.5):

<?xml version="1.0" encoding="UTF-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
    <configSections>
        <section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    </configSections>
    <infragistics.web enableAppStyling="true" styleSetName="Harvest" styleSetPath="~/ig_res/" />
.....
I have also tried applying the styles at design time (I have the ig_res folder in my wwwroot which has all the files for my custom Harvest theme (which used to work fine for .NET 3.5) and also at run time by placing the code in the .cs files, but to no avail, and the controls still looked like wire frames with no styles.
Please let me know who should I apply the Harvest theme which is in my wwwroot\ig_res\Harvest directory.
Thank you.

Parents
No Data
Reply
  • 5
    posted

    Aleksandr,

    I'm also having that issue, but I can't get any styles to show up period, under VS 2010. Nothing. I'm so frustrated right now that I want to punch the wall. I'm just trying to get started with these tools again and as usual can't get them to work as they're described. Once again it looks like I will stop trying like before and just go back to the standard toolset which at least works. Good luck in getting a response. I don't expect much out of these guys or the tools.

Children
No Data