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
255
Setting up style/images directory correctly.
posted

Hello,

I am using a webdialogwindow component set to "Harvest" style.

In design time everything seems to be ok, but then at runtime the close image button dissapears and a red cross come out. Strange, as the rest of the visual aspect remains the same (ok!).

In my web project, I have a local folder named "ig_res", and I have "Default" and "Harvest" folder with all images and css.

What should I do to have it working properly at run time? Anything in web.config infragistics folders tag? Is there anything I am missing? Please excuse, I have been working with your suite for 2 days, still a lot to learn.

Thank you so much.

 

Parents
No Data
Reply
  • 24497
    posted

    Hi,

    Setting styleSetName in web.config should be enough and work for run and design times. I can suggest you to debug by following:
    1. Create a temporary aspx, drop there script manager and dialog window and run it.

    2. Open source view in browser for generated html and find img element which is used for button. It should contain something like
    src="ig_res/NameOfStyleSetName/images/igdw_Close.gif"

    3. Copy that value to clipboard, go to aspx and add an img with that source. Something like
    <img src="ig_res/NameOfStyleSetName/images/igdw_Close.gif" />

    4. View page again in browser in check if that img loaded that file.

    5. If image shows red cross, then check if you have that image at location of your project.

Children