Interviewer And Interviewee Guide

Microsoft .Net Mobile Interview Question:

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

Submitted by: Administrator
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>
Submitted by: Administrator

Read Online Microsoft .Net Mobile Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.