|
-
Aug 7th, 2002, 03:59 PM
#1
Thread Starter
Hyperactive Member
<object> <embed>
You may want to reference this thread:
http://www.vbforums.com/showthread.p...hreadid=190750 .
I recently learned a little bit more about server controls... how to use them w/ vs .net.
I am writing html code to an <asp:Literal /> tag. One of the things that gets written in the html is an <object> tag (which embeds svg files into the page). Since I started using the <asp:Literal /> tag, instead of response.write, the svg images won't load unless the page is viewed on the server.
ex:
case 1:
I open the .aspx, that creates the page w/ svg embedded, on the webserver, and everything works fine.
case 2:
I open the .aspx that creates the page w/ svg embedded, from another system (not the server), and svg images never load.
wierd part:
In either case (viewing w/ a browser directly from the server or w/ a browser on another system) when I click view source, the source code is identical.
The page was working fine when I was using response.write to write the html (but the html appeared above all other tags which, is very sloppy and bad)
This is what the <object>/<embed> tags look like in the source code:
Code:
<object data='G:\WebServer\cpthandler\svgCharts\frictionRatio.svg' width='215' height='685' type='image/svg+xml'>
<embed src='G:\WebServer\cpthandler\svgCharts\ffrictionRatio.svg' width='215' height='685' type='image/svg+xml' />
</embed>
</object>
thanks for any help.
Paul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|