Jan 26, 2015, 12:21 AM
[CLOSED] Force load of an image
Hi, I hope you can help me.
I have this in my web page:
I have this situation I load the webpage the first time, and it shows the current image on the disk, but in some cases I need to change the image(keeping the same filename), so in this cases it is when I need to force an image load of the right file(physical not the one in the cache).
Thanks.
I have this in my web page:
<ext:Panel runat="server" Width="410" Border="false" Layout="VBoxLayout">
<Items>
<ext:Image ID="iCa" runat="server" Width="380" Height="280" />
<ext:Image ID="iCr" runat="server" Width="380" Height="280"/>
</Items>
</ext:Panel>
So, in codebehind I assign the imageUrl property: iCa.ImageUrl = somvalue + ".jpg";
My question is, how can I force to load the image each time I call my webpage?. I have this situation I load the webpage the first time, and it shows the current image on the disk, but in some cases I need to change the image(keeping the same filename), so in this cases it is when I need to force an image load of the right file(physical not the one in the cache).
Thanks.
Last edited by Daniil; Jan 30, 2015 at 2:58 PM.
Reason: [CLOSED]