Displaying OWC Picture

B

Bob

I was wondering if anyone knew how to display an OWC chart without
having it be the only thing on the page. I am currently using the
following code to display my chart:

Response.ContentType = "image/gif"
Response.BinaryWrite(CType(objCSpace.GetPicture("gif", 700, 400),
Byte()))

Can I assign the chart to an ASP.Net object or write it into a SPAN or
DIV? Can write the file into memory and assign an Image Objects URL
to the object in memory? Any ideas? I can't write the file to the
web server and then display the picture because I don't have access to
write files to the web server, and the access won't be granted either
for security reasons.

Thanks in advance for any help you can offer.
 
B

Bob

Any ideas on how I could get the placeholder to load my image? I can
load my image using a frame, but this isn't an ideal solution since
I'm building a user control and I would like to use only one page if I
can.

Thanks.


Alvin Bruney said:
try a place holder, or a frame set with no borders

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
Bob said:
I was wondering if anyone knew how to display an OWC chart without
having it be the only thing on the page. I am currently using the
following code to display my chart:

Response.ContentType = "image/gif"
Response.BinaryWrite(CType(objCSpace.GetPicture("gif", 700, 400),
Byte()))

Can I assign the chart to an ASP.Net object or write it into a SPAN or
DIV? Can write the file into memory and assign an Image Objects URL
to the object in memory? Any ideas? I can't write the file to the
web server and then display the picture because I don't have access to
write files to the web server, and the access won't be granted either
for security reasons.

Thanks in advance for any help you can offer.
 
M

Matt Anderson

Bob

Did you ever find a way to stream the chart into a PlaceHolder
control, or otherwise? I need to do the same thing. I'm trying to
stream the chart into a placeholder using GetPicture().

Matt

Any ideas on how I could get the placeholder to load my image? I can
load my image using a frame, but this isn't an ideal solution since
I'm building a user control and I would like to use only one page if I
can.

Thanks.


Alvin Bruney said:
try a place holder, or a frame set with no borders

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
Bob said:
I was wondering if anyone knew how to display an OWC chart without
having it be the only thing on the page. I am currently using the
following code to display my chart:

Response.ContentType = "image/gif"
Response.BinaryWrite(CType(objCSpace.GetPicture("gif", 700, 400),
Byte()))

Can I assign the chart to an ASP.Net object or write it into a SPAN or
DIV? Can write the file into memory and assign an Image Objects URL
to the object in memory? Any ideas? I can't write the file to the
web server and then display the picture because I don't have access to
write files to the web server, and the access won't be granted either
for security reasons.

Thanks in advance for any help you can offer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top