Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Rendering webpart as per Browser Version View modes: 
User avatar
Certified Developer 12
Certified Developer 12
chetan2309-gmail - 10/20/2013 10:48:10 PM
   
Rendering webpart as per Browser Version
Can we do conditional loading of webpart on the basis of the browser? Is there any macro for that?

Thanks
Chetan

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/22/2013 3:05:28 AM
   
RE:Rendering webpart as per Browser Version
Hello Chetan,

There is no macro by default for this purpose but you can simply create a Custom macro where you will use an available .NET methods for detecting the browser: How to: Detect Browser Types and Browser Capabilities in ASP.NET Web Pages.

Best regards,
Martin Danko