Check out this article which will explains how to develop mobile web site using asp.net.
Mobile Wesite In Asp.Net
http://krishnasaralanet.blogspot.com/p/developing-mobile-web-site-using-aspnet.html
Mobile Wesite In Asp.Net
Introduction:
In this article we will learn how to create web pages for mobile.
Back Ground:
Developing mobile web pages is not as developing our simple desktop pages. For developing mobile web pages we have to use “System.Web.Mobile” dll which will provide the classes for developing our mobile web pages. This dll contains all about mobile web pages. How to add this dll and how to use we will see here step-by-step.
Step 1:
Start new Website give some name. It will create a website with web.confige and one Default.aspx and Default.aspx.cs files.
Step 2
Next Goto Website menu and add Reference to “System.Web.Mobile” namespace.
Step3
Now just open Default.aspx page in source code view and register our System.Web.Mobile assembly like this.
<%@ Page Language="C#" AutoEventWireup="true"CodeFile="Default.aspx.cs" Inherits="Default" %>
<%@ Register TagPrefix="mobile"Namespace="System.Web.UI.MobileControls"Assembly="System.Web.Mobile" %>
http://krishnasaralanet.blogspot.com/p/developing-mobile-web-site-using-aspnet.html

No comments:
Post a Comment