Click or drag to resize

JSHelperAddLinkRef 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.UIPage
The page to which to add the reference.
href
Type: SystemString
The stylesheet file path.
limitCache
Type: SystemBoolean
Add a ver parameter with the platform version to the reference to prevent unwanted browser caching.
See Also