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
270
ig_common and Image Paths
posted

I'm attempting to redirect the Java and Image directory paths so that I can successfully debug my web application under the Visual Studio 2008 integrated development server instead of IIS.  I have followed the instructions in

 http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=6158

 and added the appropriate entries to my Web.Config file, however not all of my image paths are being redirected to the specifed directory.

I have a page with an Infragistics v8.3.20083.1009 UltraWebGrid set with the Aero theme.  When I run the project using IIS, the page displays fine.  When I run the project using the integrated visual studio development server, all of the image links are broken.  I have the following in my web.config file:

 <configSections>
  <section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
 </configSections>
 
  <infragistics.web
      imageDirectory="http://localhost/ig_common/Images/"
      javaScriptDirectory="http://localhost/ig_common/20083CLR20/Scripts"
      cssDirectory="http://localhost/ig_common/20083CLR20/Styles"
      formsDirectory="http://localhost/ig_common/20083CLR20/Forms"/>

Looking at the page source for for my default.aspx page after it has been rendered, I see that the Javascript source locations have indeed been redirected, also some images have indeed been redirected.  However any images associated with the Aero theme are still still being referenced by /aspnet_client/system_web/2_0_50727/ig_common/images/Themes/Aero/ or /ig_common/images/Themes/Aero/

Why is this not working?  What am I missing?  How do I fix this?

Parents
No Data
Reply
  • 270
    Verified Answer
    Offline posted

    For anyone else experiencing this problem, you need to set EnableAppStyling=True on the object in question, otherwise it will not work properly if you set the paths in the Web.Config file.

Children
No Data