T
Thomas Satzinger
Hallo.,
i just encounterd a strange thing which i cannot resolve.
I am saving a bitmap created in memory to the asp temp folder (asp.net 2.0)
this works fine, and i don´t want to create an extra folder in my
application, so i don´t need my people giving that folder the asp
permissions.
Ok, my JPG is in the temp folder.
after saving it, i want to display it in a image control, at a later time i
need it for a report generation
my problem is that the path name contains whitespaces, which i found out the
imageurl does not like at all.
example
this.image.ImageUrl = @"C:\TestFolder/image.jpg";
this.image.ImageUrl = @"C:\Test Folder/image.jpg";
The 1st statement would display the image, the second not....of course the 2
folders exist with the image in them.
Are there any solutions for that?
Thanks
Thomas
i just encounterd a strange thing which i cannot resolve.
I am saving a bitmap created in memory to the asp temp folder (asp.net 2.0)
this works fine, and i don´t want to create an extra folder in my
application, so i don´t need my people giving that folder the asp
permissions.
Ok, my JPG is in the temp folder.
after saving it, i want to display it in a image control, at a later time i
need it for a report generation
my problem is that the path name contains whitespaces, which i found out the
imageurl does not like at all.
example
this.image.ImageUrl = @"C:\TestFolder/image.jpg";
this.image.ImageUrl = @"C:\Test Folder/image.jpg";
The 1st statement would display the image, the second not....of course the 2
folders exist with the image in them.
Are there any solutions for that?
Thanks
Thomas