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?


<%@ 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">
    <meta name="HandheldFriendly" content="true" />
    <meta name="viewport" content="width=device-width" />
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server" Theme="Access"/>
        <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" />