Asp.net

Trick To clear Catch Images

Trick To clear Catch Images

Easy way to add Query string in a Image Url to generate new request url.
so browser not get image from catch.

Code:

<Asp:Image Id=”img” Runat=”Server”¬† ImageUrl='<%# String.Format(“{0}?n={1}”,Eval(“ThumbImg”), ¬†System.Guid.NewGuid()) %>

1 thought on “Trick To clear Catch Images”

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.