Extending the asp:image control to set a maximum width
Overview Let’s say that you have an asp:image control that displays user uploaded images from a database: <asp:Image ID=”Image1″ runat=”server” ImageUrl=”me.png” /> A common request in this scenario is how to set a maximum width for this image. While you can certainly set the Width property, this scales up images smaller than the width that [...]






