Group: Forum Members
Last Active: 4 Years Ago
Posts: 22,
Visits: 184
|
Using your documentation I do have this working but there is a problem. It is working on my desktop in a visual studio web form. I cannot get away from giving it an absolute reference to the graphics *.gif file. In the default.aspx page there can be a relative reference to "~/WaterMark.gif" but trying to apply the same file to Fillstyle I am forced to use "E:\\Development\\Production\\Energy Chart\\Energy Chart\\WaterMark.gif". When I publish this to the web it produces a black rectangle? It certainly looks all wrong. Essentially the control will not recognise the gif file that is part of the solution.
|
Group: Forum Members
Last Active: Last Month
Posts: 3,055,
Visits: 4,055
|
Hi Mike, You can try to convert the relative path to an absolute one using MapPathSecure: this.MapPathSecure(this.TemplateSourceDirectory + "\\" + "someImage.gif"); for example, will give you the absolute path to "someImage.gif" located in the same directory as the current aspx page. We hope this helps - let us know if you have any questions or meet any problems.
Best Regards, Nevron Support Team
|