master page in n-tier applicationhttp://forums.asp.net/t/1805506.aspx/1?master+page+in+n+tier+applicationThu, 31 May 2012 09:31:38 -040018055064988600http://forums.asp.net/p/1805506/4988600.aspx/1?master+page+in+n+tier+applicationmaster page in n-tier application <p>i have develop an n-tier web application that use one master page .. i have a problem with images .. images didn't displayed in second level of pages .. how i can fix this ?</p> 2012-05-20T10:03:26-04:004988685http://forums.asp.net/p/1805506/4988685.aspx/1?Re+master+page+in+n+tier+applicationRe: master page in n-tier application <p></p> <blockquote><span class="icon-blockquote"></span> <h4>alghrib</h4> images didn't displayed in second level of pages</blockquote> <p></p> <p>Do you mean images are not appearing for pages in a different subfolder level?</p> <p>you can make your images runat=server and then use a root relative path</p> <pre class="prettyprint">&lt;img runat=&quot;server&quot; src=&quot;~/images/yourimage.png&quot; /&gt;</pre> <p>or use the asp:Image tag and also use the root relative path with the tilde</p> <pre class="prettyprint">&lt;asp:Image runat="server" ID="image1" ImageUrl="~/images/yourimage.png" /&gt;</pre> <p><br> <br> </p> 2012-05-20T12:58:50-04:004990670http://forums.asp.net/p/1805506/4990670.aspx/1?Re+master+page+in+n+tier+applicationRe: master page in n-tier application <p>hi ..</p> <p>yes my problem is what u say .. subfolder leve ..</p> <p>thanx for ur answer .. i will try this solution and i will tell u ..</p> <p>thanx again</p> 2012-05-21T16:58:26-04:005001622http://forums.asp.net/p/1805506/5001622.aspx/1?Re+master+page+in+n+tier+applicationRe: master page in n-tier application <p>Thanx alot that is the best solution for my problem ...</p> <p>but there is another problem related with javaScript .. i have some messageBox for&nbsp;error and sucess&nbsp;which&nbsp;uses javascript .. when i placed it inside pgae that lies on root then no problem but when i place that messageBox inside another page in sub level folder then this message not work .. how i can fix this problem?</p> <p>thanx again for ur answer .. and i hope to get answer for the second problem ..</p> 2012-05-29T08:33:55-04:005005447http://forums.asp.net/p/1805506/5005447.aspx/1?Re+master+page+in+n+tier+applicationRe: master page in n-tier application <p>no reply? what is happend?</p> <p>any one can help me?</p> 2012-05-31T08:48:43-04:005005551http://forums.asp.net/p/1805506/5005551.aspx/1?Re+master+page+in+n+tier+applicationRe: master page in n-tier application <p>Hi,</p> <p>Start a new thread.....</p> <p>&nbsp;</p> 2012-05-31T09:31:38-04:00