Answer Posted / s. verma
Absolute paths are not portable between applications. If you
move the application that the absolute path points to, the
links will break.
Relative paths in the style of client elements can be
difficult to maintain if you move resources or pages to
different folders.
To overcome these disadvantages, ASP.NET makes available the
Web application root operator (~), which you can use when
specifying a path in server controls. ASP.NET resolves the ~
operator to the root of the current application. You can use
the ~ operator in conjunction with folders to specify a path
that is based on the current root.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Explain client side state management system.
Explain the differences between managed and unmanaged code?
What is application and session in asp.net?
Explain about the Class view window?
Can you change a Master Page dynamically at runtime?
Explain diff. Betn dataset and recordset?
How can you use a custom controls in ASP.NET application?
What is a response cookie?
what is meant by sitemapnode ?
What is a uri query?
What is postback pixel?
What is a session government?
What are custom user controls in asp.net?
Which is the parent class of the web server control?
Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?