ASP.Net/Mobile Control/Image

Материал из .Net Framework эксперт
Перейти к: навигация, поиск

mobile Image with alternative text (VB.net)

   <source lang="csharp">

<%@ Page

   Inherits="System.Web.UI.MobileControls.MobilePage" 
   Language="VB" 

%> <%@ Register

   TagPrefix="mobile" 
   Namespace="System.Web.UI.MobileControls" 
   Assembly="System.Web.Mobile" 

%> <script runat="server" language="VB"> </script> <mobile:Form id="Test" runat="server">

   <mobile:Image 
       runat="server" 
       id="Image1"
       alternatetext="Your device does not 
           support graphics!"
       alignment="right"
       navigateurl="http://www.nfex.ru"
       imageurl="http://www.nfex.ru/style/logo.png"
   />

</mobile:Form>

      </source>