AdaptiveMultiView

<EktronUI:AdaptiveMultiView>

Lets you specify sections of a template that will appear for a specific Device Group. When a page is loaded, the template determines which device group the visitor’s device fits into and displays the appropriate view for this control.

This UI control associates each “AdaptiveView” section to one of the Device Groups created in the Workarea (Workarea > Settings > Configuration > Mobile Settings > View All Device Groups).

AdaptiveMultiView syntax:

<ektronUI:AdaptiveMultiView runat="server" ID="MyMobileControl">
<ektronUI:AdaptiveView ID="AdaptiveView1" runat="server" GroupId="7" 
  GroupType="Breakpoint">
    I'm a SmartPhone!
</ektronUI:AdaptiveView>
<ektronUI:AdaptiveView ID="AdaptiveView2" runat="server" GroupId="3" 
  GroupType="DeviceGroup">
    I'm a CoolPhone!
</ektronUI:AdaptiveView>
<ektronUI:AdaptiveView ID="AdaptiveView3" runat="server" GroupId="0" 
  GroupType="DeviceGroup">
    I'm Generic Mobile!
</ektronUI:AdaptiveView>
<ektronUI:AdaptiveView ID="AdaptiveView4" runat="server" IsDefaultView="true">
    I'm a Default!
</ektronUI:AdaptiveView>
</ektronUI:AdaptiveMultiView>