Last post Sep 29, 2007 10:59 AM by joteke
Sep 29, 2007 05:41 AM|vik1987|LINK
How can use the call function on page load of mobile web form.?
all of them are not working. What I have to do now?
Mobile Web Forms Visual Studio 2005
Mobile Web Forms Visual Studio 2003
MOBILE Web form DEVICES
ASP.NET Mobile Controls
Visual Studio 2005
Microsoft .NET Mobile Web SDK
Sep 29, 2007 10:34 AM|joteke|LINK
can't you use PhoneCall control for that? It should initiate the call automatically if the device just supports that.Note: you can also set the number declaratively.
<%@ Page Language="C#" Inherits="System.Web.UI.MobileControls.MobilePage" %>
<%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>
protected void Page_Load(object sender, EventArgs e)
PhoneCall1.PhoneNumber = "09871118009";
<html xmlns="http://www.w3.org/1999/xhtml" >
<mobile:form id="form1" runat="server">
<mobile:PhoneCall ID="PhoneCall1" Runat="server" />
Sep 29, 2007 10:53 AM|vik1987|LINK
But how can I call ? It does not allow me call like that. I want self calling on page load
Sep 29, 2007 10:59 AM|joteke|LINK
Now with better thought I don't think it is possible. That's why PhoneCall renders the command to let user to call. I wouldn't want the Page to call without me to approve that.
Although my mobile controls book states it can initiate it automatically *if only the device supports that* however device most likely (hopefully) asks for confirmation.