Microsoft .Net Mobile Question: Download .Net Mobile PDF

What is .NET Mobile Images control. Explain with an example?

Tweet Share WhatsApp

Answer:

Various mobile devices have different displaying capabilities. The Image control enables developers to specify different types of images fir different devices.

Example: Devices which display GIF, some devices which display BMP or WBMP images.

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

<%@ Register TagPrefix="Mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>

<Mobile:Form runat="server">
<Mobile:Image runat="server">
<DeviceSpecific>
<Choice ImageURL="image1.gif" />
<Choice ImageURL="image1.bmp" />
<Choice ImageURL="image1.wbmp" />
</DeviceSpecific>
</Mobile:Image>
</Mobile:Form>

Download .Net Mobile PDF Read All 22 .Net Mobile Questions
Previous QuestionNext Question
Do you know TextBox and TextView controls of .NET Mobile?Explain how to develop mobile applications using Microsoft Mobile Internet Toolkit (MMIT) or .NET Mobile?