ps-team
10/27/2017 - 10:02 AM

Add ie stylesheet in custom code using the WebApi

Add ie stylesheet in custom code using the WebApi

Dim IsIe7 As IECondition = IsIe7.IsVersion(7)
CurrentContext.Page.CSS.Add("/Zengenti-Test-Folder-2013-Re-Design/SiteElements/Stylesheets/903-ie7.css", IsIe7)

'For more option other that .IsVersion see http://support.contensis.co.uk/Development/WebAPI/Reference/Contensis.Framework.Web-Namespace/IECondition-Class/IECondition-Methods/IECondition-Methods.aspx