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

  • Thread starter Thread starter gma
  • Start date Start date
G

gma

os:winxp sp1
dotnet Version:2.0
DevTools:Microsoft Visual Web Developer 2008 Express Edition
DB:sql2005Express

reference IHttpModel
http://www.microsoft.com/belux/msdn/nl/community/columns/desmet/compression.mspxmake 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 TagDataList1<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.okStart webSite1click 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 OKclick btnPrev ,img is ok.Add <httpModel...> in the Web.configclick btnNext btnNext img is OKclick btnPrev ,img is Lost,img don't show!Help me please,what happen?thanks!
 
os:winxp sp1
dotnet Version:2.0
DevTools:Microsoft Visual Web Developer 2008 Express Edition
DB:sql2005Express

reference IHttpModel
http://www.microsoft.com/belux/msdn/nl/community/columns/desmet/compression.mspxmake A demo is WebSize1,edit Web.Config Add tag <HttpModel...>page is Default.aspx,oh,Yes no problem ,gzip. is ok !continue ,Edit Default.aspxAdd TagDataList1<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 webSite1click 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 OKclick btnPrev ,img is ok.Add <httpModel...> in the Web.configclick btnNext btnNext img is OKclick btnPrev ,img is Lost,img don't show!Help me please,what happen?Thanks and good luck!"gma" <[email protected]> дÈëÏûÏ¢news:%[email protected]...> os:winxp sp1> dotnet Version:2.0> DevTools:Microsoft Visual Web Developer 2008 Express Edition> DB:sql2005Express>> reference IHttpModel>http://www.microsoft.com/belux/msdn/nl/community/columns/desmet/compression.mspxmake A demo is WebSize1,edit Web.Config Add tag <HttpModel...>page isDefault.aspx,oh,Yes no problem ,gzip. is ok !continue ,Edit Default.aspx AddTagDataList1<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.okStart webSite1clickbtnNext,btnNext,btNext ,oh, it's Good! ,click btnPrev btnPrev... wait wait,where is image?oh.....img is lost!!!img don't show! .what happen?remoteingweb.config <httpmodel....>try...click btnNext btnNext img is OKclickbtnPrev ,img is ok.Add <httpModel...> in the Web.configclick btnNext btnNextimg is OKclick btnPrev ,img is Lost,img don't show!Help me please,whathappen?thanks!>
 
my God.
---------------------------------------------------------------
os:winxp sp1
dotnet Version:2.0
DevTools:Microsoft Visual Web Developer 2008 Express Edition
DB:sql2005Express

reference IHttpModel
http://www.microsoft.com/belux/msdn/nl/community/columns/desmet/compression.mspxmake A demo is WebSize1,edit Web.Config Add tag <HttpModel...>page is Default.aspx,oh,Yes no problem ,gzip. is ok !continue ,Edit Default.aspxAdd TagDataList1<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 webSite1click 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 OKclick btnPrev ,img is ok.Add <httpModel...> in the Web.configclick btnNext btnNext img is OKclick btnPrev ,img is Lost,img don't show!Help me please,what happen?Thanks and good luck!---------------------------------------------------------------
 
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/nl/community/columns/desmet/compression.mspx
 
Back
Top