J
Joergen Bech
Hope anyone can help me.
I have an aspx page which needs to display a huge (400+) list of
addresses + logos.
I am using a StringBuilder object to which I add each address.
Each address is turned into a table with two columns.
When the whole list has been built, I stuff the result into a Literal
on the aspx page. This operation takes place as the result of
clicking a System.Web.UI.WebControls.Button instance.
Trouble is, the images are not loading when the page is being served.
The resulting html is only a maximum of 160K. There are about 280
images totalling 1.4MB. Or rather: If I am lucky, a few images will
load, but often none will.
All image paths are relative. All images are valid gifs. The page
validates just fine with CSE HTML Validator 8.04 Lite.
If I do the "View Source" thing in IE, save the file to a html file,
then launch that file, all images load just fine.
Below, you can see a snippet of the html being generated to the
end user. Still running locally, so I cannot provide a public URL
at this time.
Any ideas?
TIA,
Joergen Bech
---snip---
<hr>
<table border="0">
<tr>
<td class="VBclass" width="400">
<strong>Basement Reklame & Marketing</strong><br />
Grejsdalsvej 4<br />
7100 Vejle<br />
Tlf 75843400<br />
<a href="http://www.basement.dk">www.basement.dk</a><br />
</td>
<td class="VBclass" width="250">
<img src="Sponsors/Logos/Basement.gif" alt="" border="0">
</td>
</tr>
</table>
<br />
<hr>
<table border="0">
<tr>
<td class="VBclass" width="400">
<strong>Bauhaus Danmark A/S</strong><br />
Anelystparken 16, Tilst<br />
8381 Tilst<br />
Tlf 87450500<br />
<a href="http://www.bauhaus.dk">www.bauhaus.dk</a><br />
</td>
<td class="VBclass" width="250">
<img src="Sponsors/Logos/BauhausTheHomeStore.gif" alt="" border="0">
</td>
</tr>
</table>
<br />
<hr>
<table border="0">
<tr>
<td class="VBclass" width="400">
<strong>Baungaard Advokatfirma</strong><br />
Bredgade 31<br />
7160 Tørring<br />
Tlf 75800200<br />
</td>
<td class="VBclass" width="250">
<img src="Sponsors/Logos/BaungaardAdvokatfirma.gif" alt="" border="0">
</td>
</tr>
</table>
<br />
<hr>
I have an aspx page which needs to display a huge (400+) list of
addresses + logos.
I am using a StringBuilder object to which I add each address.
Each address is turned into a table with two columns.
When the whole list has been built, I stuff the result into a Literal
on the aspx page. This operation takes place as the result of
clicking a System.Web.UI.WebControls.Button instance.
Trouble is, the images are not loading when the page is being served.
The resulting html is only a maximum of 160K. There are about 280
images totalling 1.4MB. Or rather: If I am lucky, a few images will
load, but often none will.
All image paths are relative. All images are valid gifs. The page
validates just fine with CSE HTML Validator 8.04 Lite.
If I do the "View Source" thing in IE, save the file to a html file,
then launch that file, all images load just fine.
Below, you can see a snippet of the html being generated to the
end user. Still running locally, so I cannot provide a public URL
at this time.
Any ideas?
TIA,
Joergen Bech
---snip---
<hr>
<table border="0">
<tr>
<td class="VBclass" width="400">
<strong>Basement Reklame & Marketing</strong><br />
Grejsdalsvej 4<br />
7100 Vejle<br />
Tlf 75843400<br />
<a href="http://www.basement.dk">www.basement.dk</a><br />
</td>
<td class="VBclass" width="250">
<img src="Sponsors/Logos/Basement.gif" alt="" border="0">
</td>
</tr>
</table>
<br />
<hr>
<table border="0">
<tr>
<td class="VBclass" width="400">
<strong>Bauhaus Danmark A/S</strong><br />
Anelystparken 16, Tilst<br />
8381 Tilst<br />
Tlf 87450500<br />
<a href="http://www.bauhaus.dk">www.bauhaus.dk</a><br />
</td>
<td class="VBclass" width="250">
<img src="Sponsors/Logos/BauhausTheHomeStore.gif" alt="" border="0">
</td>
</tr>
</table>
<br />
<hr>
<table border="0">
<tr>
<td class="VBclass" width="400">
<strong>Baungaard Advokatfirma</strong><br />
Bredgade 31<br />
7160 Tørring<br />
Tlf 75800200<br />
</td>
<td class="VBclass" width="250">
<img src="Sponsors/Logos/BaungaardAdvokatfirma.gif" alt="" border="0">
</td>
</tr>
</table>
<br />
<hr>