ASP.Net/Mobile Control/ListBox

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

ListBox from mobile selectionlist (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:selectionlist

   runat="server" 
   id="sl1"
   selecttype="ListBox"
   rows=5

>

   <item text="A"/>
   <item text="B"/>
   <item text="C"/>

</mobile:selectionlist> </mobile:form>

      </source>