Call Control in Mobile Internet Toolkit


Description

Its usual to provide a hyperlink for a URL to navigate from one Page to another. How about calling a cell phone by clicking a URL? That's what exactly Call Control is for. You can make a call on clicking a link. This only only provides you to make you calls easier but also gives a nice look to your program.

Source Code:

<%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" Language="C#" %>

<%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" Language="C#" %>
<%@ Register TagPrefix="mobile"Namespace="System.Web.UI.MobileControls"
Assembly="System.Web.Mobile" %>

<mobile:Form runat="server" ID="Form1" NAME="Form1">
<mobile:Call runat="server"AlternateFormat="{0} at {1}"
AlternateURL="http://www.c-sharpcorner.com"
phoneNumber="9109845248004" ID="Call1" NAME="Call1">
Just Call
</mobile:Call>
</
mobile:Form>

If the device supports call initiation then by clicking a URL will dial the phone number.

Up Next
    Ebook Download
    View all
    Learn
    View all