470,832 Members | 2,073 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,832 developers. It's quick & easy.

Re: the mvp Code IhttpModel problem--Compression support in ASP.NET 2.0

gma
os:winxp sp1
dotnet Version:2.0
DevTools:Microsoft Visual Web Developer 2008 Express Edition
DB:sql2005Express
make A demo is WebSize1,edit Web.Config Add tag <HttpModel...>

page is Default.aspx,

oh,Yes no problem ,gzip. is ok !

continue ,Edit Default.aspx

Add Tag

DataList1

<ItemTemplate>

<asp:image id="img" runat="server" src='<%# Eval("FilmImgSrc")%>'/>

</ItemTemplate>

code:

DataList1.DataSource=filmServer.GetAllFilm();

DataList1.DataBind();

<asp:button id="btnPrev" runat="server">PrevPage</asp:button>

<asp:button id="btnNext" runat="server">NextPage</asp:button>

and Add Btn Code.

ok Start webSite1

click btnNext,btnNext,btNext ,oh, it's Good!

click btnPrev btnPrev... wait wait, where is image?

oh.....img is lost!!!

img don't show! what happen?

remoteing web.config <httpmodel....>

try...

click btnNext btnNext img is OK

click btnPrev ,img is ok.

Add <httpModel...in the Web.config

click btnNext btnNext img is OK

click btnPrev ,img is Lost,img don't show!

Help me please,what happen?

Thanks and good luck!

reference IHttpModel
http://www.microsoft.com/belux/msdn/...mpression.mspx

Nov 4 '08 #1
0 805

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by nell | last post: by
5 posts views Thread by Otto Wyss | last post: by
2 posts views Thread by Nobody | last post: by
67 posts views Thread by Steven T. Hatton | last post: by
289 posts views Thread by napi | last post: by
2 posts views Thread by Tull Clancey | last post: by
2 posts views Thread by swapprose | last post: by
10 posts views Thread by =?Utf-8?B?Tm90cmUgUG91YmVsbGU=?= | last post: by
reply views Thread by gma | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.