PhoneCall.AlternateFormat Property
Assembly: System.Web.Mobile (in system.web.mobile.dll)
[BindableAttribute(true)] public: property String^ AlternateFormat { String^ get (); void set (String^ value); }
/** @property */ public String get_AlternateFormat () /** @property */ public void set_AlternateFormat (String value)
public function get AlternateFormat () : String public function set AlternateFormat (value : String)
Not applicable.
Property Value
A formatting string for the text value that is displayed on devices that are not able to originate telephone calls.An example of the default string is, Call {0} at {1} right now!! where the system replaces {0} with the Text property of the PhoneCall object (the innerText of the element on the page), and {1} with the value of the PhoneNumber property.
The following code example demonstrates how to add several phone numbers to a Panel on your page, and shows two forms of AlternateFormat.
Note: |
|---|
| The following code sample uses the single-file code model and may not work correctly if copied directly into a code-behind file. This code sample must be copied into an empty text file that has an .aspx extension. For more information on the Web Forms code model, see ASP.NET Web Page Syntax Overview. |
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Note: