ASP.Net/Mobile Control/Combobox

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

Combobox 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="DropDown"

>

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

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

      </source>