UIHelperGetImageUrl Method (Page, String, Boolean) |
Gets UI image path.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax public static string GetImageUrl(
Page page,
string imagePath,
bool ensureDefaultTheme = false
)
Parameters
- page
- Type: System.Web.UIPage
Page - imagePath
- Type: SystemString
Partial image path starting from ~/App_Themes/(Skin_Folder)/Images/ (e.g. '/CMSModules/Membership/module.png') - ensureDefaultTheme (Optional)
- Type: SystemBoolean
Indicates if default theme should be always used
Return Value
Type:
StringSee Also