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
How many types cache in asp net?
Is session stored in browser?
How to bind all the binding controls in a page at once in ASP.NET?
Difference between singleton and singlecall.
What is the adavantage of using ASP.NET routing?
What are the new login controls in asp.net 2.0?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
How is the asp.net mvc architecture different from others? : asp.net mvc
How do u deploy your asp.net application?
Is it true that a Web service must be written in .NET or not?
Explain how to prepare culture-specific formatting in .net.
What is Web API Routing?
How would you create a permanent cookie?
What is an il?
What are the different web pages?