Assign values to mobile list (VB.net) : List « Mobile Control « ASP.Net






Assign values to mobile list (VB.net)

<%@ 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="StartForm" 
    runat="server">
<mobile:list
    runat="server" 
    id="list1"
    decoration="bulleted"
    forecolor="red"
>
    <item value="A"/>
    <item value="B"/>
    <item value="C"/>
    <item value="D"/>
</mobile:list>
</mobile:form>
           
       








Related examples in the same category

1.Remove value from mobile list (VB.net)
2.Add hyperlink item to mobile list (VB.net)
3.Add items to mobile List in code (VB.net)
4.mobile list decoration: bulleted (VB.net)