Skip to content

Instantly share code, notes, and snippets.

Created December 7, 2011 17:48
What would you like to do?
DNN Skin with Client Capability checks
<%@ Control Language="C#" AutoEventWireup="false" Inherits="DotNetNuke.UI.Skins.Skin" %>
<%@ Import Namespace="DotNetNuke.Services.ClientCapability" %>
<div class="<%= ClientCapabilityProvider.CurrentClientCapability.IsTouchScreen ? "touch-please" : "no-touching" %>">
<div id="ContentPane" runat="server"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment