Click or drag to resize

JSHelper.AddLinkRef Method (Page, String, Boolean)

Add stylesheet references to the page header. Note that application developers who want to limit browser caching should generally use the AddLinkRef(Page, String, String) overload and provide the AppCacheVer(IAppContext) as the cacheVer.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static void AddLinkRef(
	Page page,
	string href,
	bool limitCache
)

Parameters

page
Type: System.Web.UI.Page
The page to which to add the reference.
href
Type: System.String
The stylesheet file path.
limitCache
Type: System.Boolean
Add a ver parameter with the platform version to the reference to prevent unwanted browser caching.
See Also