Answer:
ResolveUrl - Returns URL relative to the site root using control’s TemplateSourceDirectory property.
ResolveClientUrl – Returns URL relative to the folder containing the source file in which the control is instantiated.
I would prefer to use ResolveUrl as URL returned can be used anywhere in the site to make it work correctly.
Thanks,
Bhakti Shah
Asked In: Many Interviews |
Alert Moderator