[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.mobile

Resizing controls in a Mobile web form

nazri

7/29/2002 10:35:00 AM

Hello !

I'm very new to mobile web development using MMIT. I
noticed that I cannot change the size of controls such as
label or text box in a mobile web form unlike the controls
of a normal web form. Is there anyway I can resize in a
mobile webform. Please help me!!

Thank you.
2 Answers

(Jason Jing)

7/31/2002 7:17:00 AM

0

Hello,

No you cannot do it to mobile controls. MMIT is used to render pages on
wide variety of devices, including Pocket PC, which has it own IE browser,
and mobile phones that support WAP protocol. The same control may have very
different appearance on different devices. Therefore, mobile web form you
see on Visual Studio is only a logically view of the page.

If you want to resize control, you need to use ASP.NET Server control,
which is prefixed with "asp:". You also need to put these controls inside
Device Specific control which filter only devices that support HTML.

Jason Jing
Microsoft Support
This posting is provided "AS IS", with no warranties, and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| From: "nazri" <MohammadNazri@techsemicon.com.sg>
| Sender: "nazri" <MohammadNazri@techsemicon.com.sg>
| Subject: Resizing controls in a Mobile web form
| Date: Mon, 29 Jul 2002 01:35:15 -0700
| Lines: 9
| Message-ID: <1e6401c236da$dcfd1860$b1e62ecf@tkmsftngxa04>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-Mimeole: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcI22tz9oozA1AaFSmGF9JUZ3si73w==
| Newsgroups: microsoft.public.dotnet.framework.aspnet.mobile
| Path: cpmsftngxa07
| Xref: cpmsftngxa07 microsoft.public.dotnet.framework.aspnet.mobile:4403
| NNTP-Posting-Host: TKMSFTNGXA04 10.201.232.163
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.mobile
|
| Hello !
|
| I'm very new to mobile web development using MMIT. I
| noticed that I cannot change the size of controls such as
| label or text box in a mobile web form unlike the controls
| of a normal web form. Is there anyway I can resize in a
| mobile webform. Please help me!!
|
| Thank you.
|



nazri

7/31/2002 9:08:00 AM

0

Hi !

Thanks a lot for the reply. However I'm not very familiar with ASP.NET so I don't quite understand what you mean by server controls.Can this be set within the mobile web form that I'm using ? I definitely appreciate any help given by you.