Newbie: Multi Mobile Form in a Page?
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngmob' list.


Peter Ma
Hi, I read that it's possible to put multiple mobile form in the same aspx
file, but i can also add more and more mobile web form in the same project.
Then, what's the difference between use 1 mobile form in 1 ASPX file, use
many forms in 1 aspx file, and use many forms in many aspx files? What's the
decide criteria in determining when to add a new mobile form or normally
people will save how many mobile form in a ASPX file? any limitation?
If in ASP.NET, each form corresponding to a Page_Load event, while in mobile
form, how can I handle or want to trigger multipage Page_Load event if many
forms stored in the same ASPX file? or it will lead to create a new mobile
form? As I read the book that nearly no example use response.redirect in
mobile world but only use querystring, while response.redirect or
server.transfer are commonly use in ASP.NET appl.
Hope someone can clarify my stubborn brain.
Thanks,
Peter

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

Reply to this message...
 
    
Anil John
The first MMIT article at

http://www.kylas.com/Articles/Default.aspx (Best Practices for Creating
Adaptive User Interfaces with the Mobile Internet Toolkit) addresses some of
these concerns.

The samples that are provided in the Mobile Quickstarts are rather good... I
would HIGHLY suggest that you take a look and work through them to find out
what the limitations that you will be working with when using mobile
controls...

Anil

-----Original Message-----
From: Peter Ma [mailto:Click here to reveal e-mail address]
Sent: Monday, February 25, 2002 2:32 PM
To: aspngmob
Subject: [aspngmob] Newbie: Multi Mobile Form in a Page?

Hi, I read that it's possible to put multiple mobile form in the same aspx
file, but i can also add more and more mobile web form in the same project.
Then, what's the difference between use 1 mobile form in 1 ASPX file, use
many forms in 1 aspx file, and use many forms in many aspx files? What's the
decide criteria in determining when to add a new mobile form or normally
people will save how many mobile form in a ASPX file? any limitation?
If in ASP.NET, each form corresponding to a Page_Load event, while in mobile
form, how can I handle or want to trigger multipage Page_Load event if many
forms stored in the same ASPX file? or it will lead to create a new mobile
form? As I read the book that nearly no example use response.redirect in
mobile world but only use querystring, while response.redirect or
server.transfer are commonly use in ASP.NET appl.
Hope someone can clarify my stubborn brain.
Thanks,
Peter

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

| [aspngmob] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngmob.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
Shanku Niyogi
Peter,

Yes, it is true that you can put multiple forms in a single mobile page.
You can then navigate from form to form by setting the ActiveForm
property of the page, or through URLs of the format "#formname".=20

In ASP.NET, a number of page features make it very easy to develop
interactive applications. These include postback, which enables an
event-driven model for interaction, and viewstate, which makes it easy
to dynamically modify properties of controls.

Having multiple forms on a page gives you these same conveniences.
Mobile devices typically have much smaller screens than desktop pages.
But by using multiple forms, you can have a mobile page with a similar
amount of functionality as a desktop page, and use postback, viewstate,
etc. across multiple forms. You can also access any control on any form
programmatically.

The downside of this is that all controls on a page (not just on the
active form) are created on every request. So, if you have a lot of
forms on a single page, you pay a performance price because many
controls are created. In practice, it's best to=20

1) Group forms that make sense to group together (e.g. pages of a
wizard) in a page.
2) Have separate pages for each group
3) Use URLs to go from one group to another.

There's more about this in the product documentation.

Thanks,
Shanku

--
This posting is provided "AS IS" with no warranties, and confers no
rights.

-----Original Message-----
From: Peter Ma [mailto:Click here to reveal e-mail address]=20
Sent: Monday, February 25, 2002 11:32 AM
To: aspngmob
Subject: [aspngmob] Newbie: Multi Mobile Form in a Page?

Hi, I read that it's possible to put multiple mobile form in the same
aspx=20
file, but i can also add more and more mobile web form in the same
project.=20
Then, what's the difference between use 1 mobile form in 1 ASPX file,
use=20
many forms in 1 aspx file, and use many forms in many aspx files? What's
the=20
decide criteria in determining when to add a new mobile form or normally

people will save how many mobile form in a ASPX file? any limitation? If
in ASP.NET, each form corresponding to a Page_Load event, while in
mobile=20
form, how can I handle or want to trigger multipage Page_Load event if
many=20
forms stored in the same ASPX file? or it will lead to create a new
mobile=20
form? As I read the book that nearly no example use response.redirect in

mobile world but only use querystring, while response.redirect or=20
server.transfer are commonly use in ASP.NET appl.
Hope someone can clarify my stubborn brain.
Thanks,
Peter

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

| [aspngmob] member Click here to reveal e-mail address =3D YOUR ID=20
| http://www.asplists.com/asplists/aspngmob.asp =3D JOIN/QUIT=20
| http://www.asplists.com/search =3D SEARCH Archives

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com