What is .NET Mobile Images control. Explain with an example?
Submitted by: AdministratorVarious 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
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
Top Microsoft .Net Mobile Questions
☺ | Explain .NET Mobile Events? |
☺ | Do you know TextBox and TextView controls of .NET Mobile? |
☺ | What is the difference between .Net Mobile Pages and ordinary .NET web page? |
☺ | Explain a .NET Mobile example with details? |
☺ | What is .Net Mobile Forms? |
Top Dot Net Technologies Categories
☺ | MSF Interview Questions. |
☺ | .Net Architecture Interview Questions. |
☺ | ASP.Net MVC Interview Questions. |
☺ | Entity Framework Interview Questions. |
☺ | C# (Sharp) Programming Language Interview Questions. |