May 05, 2012, 7:06 PM
Mobile development
Hi folks,
I would like to write a test web app for mobiles. I'm able to show this page at Opera 10 Mobile in my HTC.
The issue is I don't know how set viewport with and height (and avoid scroll bars). Does Ext.Net can manage this?
Cheers
I would like to write a test web app for mobiles. I'm able to show this page at Opera 10 Mobile in my HTC.
The issue is I don't know how set viewport with and height (and avoid scroll bars). Does Ext.Net can manage this?
Cheers
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="ALPS.mobile._default" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<meta name="HandheldFriendly" content="true" />
<meta name="viewport" content="width=device-width" />
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" Theme="Access"/>
<div>
<ext:Label ID="prova" runat="server" Text="mobile!" />
<ext:TextField runat="server" ID="UserID" FieldLabel="fieldlabel" Width="200" />
<ext:Button runat="server" ID="Login" Text="@" Width="50" />
</div>
</form>
</body>
</html>