Hi All,
I have added a user-control call mainBanner.ascx in module, and i have call the user-control from root master as below
<%@ Register TagPrefix="nopCommerce" TagName="MainBanner" Src="~/Modules/MainBanner.ascx" %>
<nopCommerce:MainBanner ID="ctrlMainBanner" runat="server" />
And in side the mainBanner user-control i have added a static image in to that as below.
<img src="./images/MainBanner.jpg" />
image get displaying in whatever the pages is in root.
Eg : http://localhost/NOP-site/default.aspx, http://localhost/NOP-site/contactus.aspx, http://localhost/NOP-site/abouttus.aspx
but its not get displaying in any product detail page Eg :
http://localhost/nop-site/products/xyz.aspx
I understand the path is the issue because its going inside products folder.
I have tried with '~/' , '../' , './' and all. But no luck
Please get me the solution
Thanks in advance
Rooban