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.
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 likesrc="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.
Thanks for the tip!
I have fixed it. My problem was in web.config file, I had the ImageDirectory tag pointing to a wrong folder. I have removed the tag and now the close button appears perfectly.
Thanks for the support.
Regards,