Welcome Guest, you are in: Login

MUST Creative Engineering Laboratory

RSS RSS

Navigation



Technical Doc



Search the wiki
»

MUST Corp.

MUST Corp.

www.must.or.kr

 Microsoft CERTIFIED Partner Software Development, Web Development, Data Platform

 Microsoft Small Business Specialist

MCSD

Microsoft Certified IT Professional

Microsoft Certified Professional Developer

Class

  • Package:
  • Defined In :
  • Class:   
  • Subclasses:   
  • Extends:  

Config Options

<%if(RenderMode.PC){%>
  <div>PC</div>
<%}%>

<%if(RenderMode.Text){%>
  <div>Text</div>
<%}%>

<%if(RenderMode.Mobile){%>
  <div>Mobile</div>
<%}%>

<%if(RenderMode.PC||RenderMode.Text){%>
  <div>PC&Text</div>
<%}%>

<%if(RenderMode.PC||RenderMode.Mobile){%>
  <div>PC&Mobile</div>
<%}%>

Public Properties

  • we will rarely use it, but sometimes it's required
  • some pages include js, so we have to disable js adding to pages viewed in text-mode
  • rather designer/js programmer has to decide what kind of functionality it is
  • for example, you provide alternative content to flash like flash is only for PC
  • if not declaration, it'll show to all device

Public Methods

for text - if you want to make special regions within single page - then define them in default.aspx <%if(RenderMode.PC){%>...in photo

if you want to remove photo in text mode like this <%if(RenderMode.PC){%>...

Public Events

Public events

Example

example

MUST Creative Engineering Laboratory

ImageImage Image Image

Image Image Image Image Image Image Image

Copyright © 2010 MUST Corp. All rights reserved. must@must.or.kr
This Program is released under the GNU General Public License v2. View the GNU General Public License v2 or visit the GNU website.