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 an object, class and method.
What is the difference between custom controls and user controls?
About CLR, reflection and assemblies?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
How is mvc different from asp.net? : Asp.Net MVC
What is the difference between login controls and forms authentication?
What is Bundling and Minification in MVC?
Is it possible to apply themes to an asp.net application? If yes, then how?
What is asp.net and how it works?
How will create assesblies at run time?
Explain how dot net compiled code will become platform independent?
Explain how can we access static variable?
Explain the purpose of storyboard.targetproperty.
Which tool you have done?
What is cross page posting? How is it done?