Friday, June 8, 2012

What is the difference between ResolveUrl() and ResolveClientUrl()??

ResolveUrl()-Returns url relative to site root using controls template source directory property.
ResolveClientUrl: returns url relative to the folder containing the source file in which controls are instantiated.

Prefer to use ResolveUrl()

No comments:

Post a Comment