Using MasterPage by Folder without Image Loose in ASP.NET
Introduction and Demonstration
In ASP.NET, if you have a MasterPage on root and want to use it in different folder's web forms then remember images will not be visible for the web forms which is inside the folder other than root. Because by default <img> tag has no runtat attribute. To fix such problem we have to add runat="server" tag with every image used in MasterPage.
Comments
Post a Comment