I've loaded the trial version of NetAdvantage onto my XP system with VS2005, even got the controls to appear on the toolbar. When I drag the WebHtmlEditor to my page, Visual Studio can't seem to find the image files for the buttons. When I test the page using the built in web server they are visable. Do I need to copy the images somewhere?
John
Hi John,
Any luck yet? please try coping the images to a particular folder and then in the pre-render event of the editor, set the value of the ImageDirectory property to the directory location where images are copied. Please try it and let know.
But I guess you able to see the images at the run time, right?
Regards,
Dhananjay Kathar
Dhananjay,
Thanks for the suggestion, but I already tried something close to that. You’re right though, I can see the images when I run the application. The issue only occurs in design view in VS2005. It’s not a critical issue, just an annoyance.
Fixed the issue for now.
I loaded all of the images into a folder \ig_common\images in my application, then I added these lines to each instance of the control.
ImageDirectory="../ig_common/images/htmleditor/"
Not sure why I had to do this but it is working for now. We'll see what happens when I upload to production.
Do you meant to say that you've included this folder in your application, as a part of your solution/project?
Yes, similar to your original suggestion. I was using a ~/ in the link for the image directory which didn't work. I switched to ../ which did. I'm always getting confused about relitative links. Since I'm not the webmaster this was the best bet for me.