J
Just D.
All,
How should we refresh the current aspx frame? I disabled caching using this
command on Page_Load():
Response.Cache.SetCacheability(HttpCacheability.NoCache);
but it didn't help.
The problem is that this page shows the client Logo image, then asks to
upload a new one if required, finally it should show the uploaded picture.
The problem is that it doesn't. If I press F5, then I can see the updated
image, but if I didn't press F5, then I see the previous image.
The aspx page (frame) has the following code:
<asp:Image id="ImageLogo" style="Z-INDEX: 106; LEFT: 145px; POSITION:
absolute; TOP: 163px" runat="server" ImageUrl="Imager.aspx"
BorderColor="LightBlue" BorderStyle="Solid" BorderWidth="1px"></asp:Image>
When I trace in debugger I see that after uploading the child frame
mentioned in this control (ImageUrl="Imager.aspx") is not calling. When I
press F5 to refresh the frame the child frame is called and refresh the
image.
How can we refresh the frame from C# to renew the image?
Just D.
How should we refresh the current aspx frame? I disabled caching using this
command on Page_Load():
Response.Cache.SetCacheability(HttpCacheability.NoCache);
but it didn't help.
The problem is that this page shows the client Logo image, then asks to
upload a new one if required, finally it should show the uploaded picture.
The problem is that it doesn't. If I press F5, then I can see the updated
image, but if I didn't press F5, then I see the previous image.
The aspx page (frame) has the following code:
<asp:Image id="ImageLogo" style="Z-INDEX: 106; LEFT: 145px; POSITION:
absolute; TOP: 163px" runat="server" ImageUrl="Imager.aspx"
BorderColor="LightBlue" BorderStyle="Solid" BorderWidth="1px"></asp:Image>
When I trace in debugger I see that after uploading the child frame
mentioned in this control (ImageUrl="Imager.aspx") is not calling. When I
press F5 to refresh the frame the child frame is called and refresh the
image.
How can we refresh the frame from C# to renew the image?
Just D.