I am having problems with controls rendering from the proper directories. If I specify a global theme in the web.config, it tries to find the image files in the App_Themes directory instead of my specified in the web.config (http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/Web_Deploying_an_Application_to_a_Hosted_Server_Environment.html).
Does the specification of a theme trump the Infragistics settings?
abacusdba said: Where can one obtain "WebDeveloperHelper". It sounds like a great tool for me while I trouble shoot my web projects!
Where can one obtain "WebDeveloperHelper". It sounds like a great tool for me while I trouble shoot my web projects!
That was bad posting etiquette on my part, my apologies for not posting the link.
WebDeveloperHelper
I've tried this same thing out with the 2007.3 version and it seemd to work fine for me. Looking at the output of WebDeveloperHelper (an http tracing tool) it shows that the url of the image is a correct composition of the web.config's imageDirectory as well as the skin's ImageUrl property. Not sure what could be different between our applications, other than version of the component used. It may be best to work with our developer support group on this (http://ko.infragistics.com/gethelp)
-Tony
Here is what I've got:
<pages theme="MyTheme">
Here's the relevant section from the web.config:
<configSections>
<section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
</configSections>
<infragistics.web imageDirectory="~/Scripts/20073.1043/images" javaScriptDirectory="~/Scripts/20073.1043/Scripts" cssDirectory="~/Scripts/20073.1043/Styles" formsDirectory="~/Scripts/20073.1043/Forms/WebSchedule"/>
When I was coming up with the skin the first time, I created a button, made all of my settings and then copied the html to the skin file:
<igtxt:WebImageButton runat="server" UseBrowserDefaults="False">
<Appearance>
<Style Cursor="Hand" Font-Size="11px">
</Style>
</Appearance>
<RoundedCorners HeightOfBottomEdge="0" HoverImageUrl="ig_butMac2.gif" ImageUrl="ig_butMac1.gif" MaxHeight="23" MaxWidth="300"
PressedImageUrl="ig_butMac4.gif" RenderingType="FileImages" WidthOfRightEdge="13" />
</igtxt:WebImageButton>
Then, in my application, call the button:
<igtxt:WebImageButton ID="btnUpdate" runat="server" Text="Update" TabIndex="5" />
Do I have to specify the full path for the images? Is this why?
Can you be a little more specific as to what you're doing and what's happening? What does your web.config look like? What does your theme look like? Where are you expecting the images to be found, and what image urls are actually being used? Hopefully we can get you all sorted out once we have that info.
Thanks,