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

Popular posts from this blog

Customize User's Profile in ASP.NET Identity System

Lambda two tables and three tables inner join code samples