No matter what i do i cannot get the images to display for webdatepicker.
WHAT A NIGHTMARE!!!!!
Hi Gary,
If you refer to default images, then they should be located at ~/ig_res/Default/images/ directory. If you have custom StyleSetName, then it should be ~/ig_res/YourStyleName/images.
Please be more specific which exactly images are missing. Images (triangles) on buttons of editor or calendar (IMG objects), or background images in editor or calendar (defined by css classes). Those images are default or you set your custom images.You may look at generated html, find IMG objects which used to show them and look at their src. Those urls should be available on server and have files with those names.
I've been using asp.net 11.1.20111.1006 for a while. I"m trying to replace ultragrids with webdatagrids but none of the editor providers seem to work and graphics are missing (WebDataPicker is just text, for example). I'm not sure why the developer is responsible for knowing where to get the styles, javascript files, and images and know where to put them on the website. Dropping the controls onto the page in source view or design view doesn't do it, and never has. I've been through this before and with other controls but nobody has a fix other than telling me where to find the files and where the controls are looking for them. Can you please give me the complete source and destination for all styles, javascript, and images for WebTextEditor, WebNumericEditor, WebCurrencyEditor, WebDatTimeEditor, WebDatePicker, WebMaskEditor, WebPercentEditor, WebDialogWindow, and WebDataGrid, and WebDropdown?
Thanks for you help.
Hi thp,
When you drop on a WebForm in visual designer any Infragistics.Web.UI control, then dialog should appear with suggestions and warning about css resources. It should help to get around. It also should adjust records in web.config for current/specific style set.
If for some reason that fails, then please do following:
1. Create local to your website/project direstory with name "ig_res".
2. Create subdirectory with name "Default": "~/ig_res/Default/". For different theme/styleSet you will need different/another directory. The ig_res may have multiple subdirectories for multiple themes.
3. Find on your hard-drive where are located similar directory provided by installation of NetAdvantage.
4. Copy all files (including child "images" directory) from installation ig_res/Default/*.* to same directory in your website. That should contain files like ig_texteditor.css, ig_webtab.css, ig_grid.css, ig_slider.css, etc.
5. Open web.config and add following 2 lines:
<configuration> <configSections> ... <section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> </configSections> <infragistics.web styleSetName="Default" styleSetPath="~/ig_res"/> ...</configuration>
Note: the values in web.config define theme/styleSet for all controls in application. But any control may override those settings using StyleSetName and StyleSetPath properties and it will have its own unique theme/styleSet.
If you need another theme/styleset, then you should do following:
1. Copy from ig_res of installation the directory with desired name to the ig_res of your website. For example, Claymation/*.*
2. If you need global effect for that theme/styleSet, then you should adjust record in webconfig for that styleSet: <infragistics.web styleSetName="Claymation" styleSetPath="~/ig_res"/>
Note: the names of css files are the same in all styleSet directories, however, the contents of those files are different. Each css class has unique prefix, which should match with name of styleSet. It allows to have different styles of controls located on the same page.
Thanks for your response.
I don't get any error messages about missing resources when I drop a control from the toolbox. I can't find a directory called ig_res anywhere on my hard drive except for my websites which I've added manually, except for c:\users\public\public documents\infrasticstics\NetAdvantage 2011.1\ASP.NET\Startup Solutions. Is this where I should be copying from? Is there a fix for having it moved automatically when I drop the control onto the webpage?
Thanks again for your assistance.
thp
I'm still having issues with the graphics not displaying unless it is visible on Page_Load.. but this being investigated in issue CAS-95859-STY74X. We can close this thread.
Hello,
I am just following up to see if you need any further assistance with this matter.
You can find style libraries from “C:\Users\Public\Documents\Infragistics\NetAdvantage 2011.1\ASP.NET\StyleLibraries”. This is the default location of the styles set. If the Application Styling is enabled for Application it will copy the styles when you drop control on the form.
I hope this helps.