Issue : Image is not displaying in master page
Solution :
If you use html control in master page as like below line
<img src=”~/App_Themes/Images/company_logo.png” width=”203″ height=”36″></div>
then we want to include runat attribute inside the image tag.
<img src=”~/App_Themes/Images/company_logo.png” runat=”server”ย width=”203″ height=”36″></div>
else change the html control to asp control, then it will work in the master page
Note :
- If you use the ~/ syntax then the control has to be a server control;so we want to include runat in the tag.
Leave A Comment