09:28 am, surjitbharath
text
ASP.NET - Resolving the Javascript path in your Master Page

When referencing a Javascript file from your Master Page, the relative path may be different depending on where your your page is located within the project.

This neat little solution posted by Paul Murphy on his blog here, fixes the issue by resolves the URL on the site and not the application. This includes if your website sits in a virtual directory too! Magic.

<link href=”../styles/layout.css” rel=”stylesheet” type=”text/css” />
<script type=’text/javascript’ src=’<%=ResolveUrl(“~/scripts/common.js”) %>


03:02 pm, surjitbharath

03:30 pm, surjitbharath

12:20 pm, surjitbharath
quote
You don’t have to be the best…you just have to be better than last week

12:51 pm, surjitbharath

01:19 pm, surjitbharath

10:23 am, surjitbharath

09:46 am, surjitbharath
picture HD
Why I want an iPad

Why I want an iPad


03:47 pm, surjitbharath
reblogged
785 notes
picture
lickystickypickyme:

I wish life were this simple.it should be.

lickystickypickyme:

I wish life were this simple.
it should be.

(Source: lickystickypickywe)