SIGN UP MEMBER LOGIN:    
ARTICLE

Menu Page on Mobile Site

Posted by Shivani Articles | Mobile & Embedded August 31, 2001
My basic idea to stat this site is to show you a real-world example and how mobile programming can be integrated to a web site. I would try to build this site as useful as I can. If you've got any ideas or suggestions, please don't hesitate to send it to me.
Reader Level:

Description

So finally we are starting a Mobile Site. My basic idea to start this site is to show you a real-world example and how mobile programming can be integrated to a web site. I would try to build this site as useful as I can. If you've got any ideas or suggestions, please don't hesitate to send it to me. I would be glad to see your response.

Here is the Menu Page of the Site. What you need to do is just make a directory in your server and put this code in that directory. This Menu page consists links. I will give you these link regularly in my forthcoming articles. You can find source code and latest news about the site development.

Save this code as MobileHome.aspx and  enjoy the way.

Source Code:

// Source Code starts
<%@ Register TagPrefix="Mobile"
Namespace="System.Web.UI.MobileControls" Assembly
="System.Web.Mobile"%>
<%@ Page
Inherits
="System.Web.UI.MobileControls.MobilePage"
Language="CS" %>
<mobile:Form id=Form1 runat="server">
<
mobile:Label id=Label1 runat="server">
Welcome to Shivani`s Mobile Unit
</mobile:Label>
<
mobile:Link runat="server" NavigateURL="CurrentNews.aspx" ID="Link1">
Current News
</mobile:Link>
<
mobile:Link runat="server" NavigateURL="Horoscope.aspx" ID="Link2">
Daily Horoscope
</mobile:Link>
<
mobile:Link runat="server" NavigateURL="Weatherupdates.aspx" ID="Link3">
Weather Updates
</mobile:Link>
<
mobile:Link runat="server" NavigateURL="MobilePages.aspx" ID="Link4">
Mobile pages
</mobile:Link>
<
mobile:Link runat="server" NavigateURL="MobileDiary.aspx" ID="Link5">
Mobile Diary
</mobile:Link>
<
mobile:Link runat="server" NavigateURL="WordJumble.aspx" ID="Link6">
Word Jumble
</mobile:Link>
<
mobile:Link runat="server" NavigateURL="MailingUnit.aspx" ID="Link7">
M-Mailing
</mobile:Link>
</
mobile:Form>
// Source Code End

Here is the  output in Nokia ToolKit

MobileHomeSH1.gif

MobileHomeSH2.gif

Shivani~~~

Login to add your contents and source code to this article
share this article :
post comment
 
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor