Using mobile:DeviceSpecific

Discussion in 'ASP .Net Mobile' started by Mathasu, Oct 12, 2004.

  1. Mathasu

    Mathasu Guest

    Hi,
    If I've a piece of code like this:

    <mobile:form id="frmLogin" runat="server">
    <mobile:DeviceSpecific id="dsLogin" Runat="server">
    <Choice>
    <HeaderTemplate>
    <mobile:Label id="lblUser" Runat="server" ></mobile:Label>
    <mobile:SelectionList id="slUser" runat="server"
    SelectType="DropDown"></mobile:SelectionList>
    </HeaderTemplate>
    <FooterTemplate>
    <mobile:Label id="lblResearch" Runat="server"></mobile:Label>
    <mobile:Label id="lblInvisibleLastSeek"
    Runat="server"></mobile:Label>
    </FooterTemplate>
    </Choice>
    </mobile:DeviceSpecific>
    ......................
    </mobile:form>

    I can't refer to the 3 mobile:Label and
    the mobile:SelectionList by ID in the .vb file,
    because they're inserted in a
    mobile:DeviceSpecific control.
    How can I do ?

    Thanks
     
    Mathasu, Oct 12, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    494
  2. chen selina
    Replies:
    0
    Views:
    1,402
    chen selina
    Jul 13, 2010
  3. Ily

    DeviceSpecific Questions

    Ily, Aug 12, 2005, in forum: ASP .Net Mobile
    Replies:
    1
    Views:
    135
    Amit Puri
    Aug 29, 2005
  4. JJ
    Replies:
    0
    Views:
    143
  5. Francisco Araujo

    How to access controls inside a DeviceSpecific template?

    Francisco Araujo, Sep 15, 2006, in forum: ASP .Net Mobile
    Replies:
    1
    Views:
    801
    Francisco Araujo
    Sep 15, 2006
Loading...

Share This Page