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
What tags do you need to add within the asp:datagrid tags to bind columns manually? How?
What are standard controls?
Explain how dot net compiled code will become platform independent?
How to store checkbox value in database in asp.net mvc? : Asp.Net MVC
How do you sign out from forms authentication?
Is post back property in asp net?
What is the parent class of all the web server control?
How many types cache in asp net?
What is data control in asp.net?
Define transparent caching with aop?
Define the term Scavenging in Caching?
Describe the sequence of action takes place on the server when ASP.NET application starts first time?
Where code pages are used?
Can we add code files of different languages in app_code folder?
Explain the purpose of storyboard.targetproperty.