Problem with selection list !

Discussion in 'ASP .Net Mobile' started by Alessandro, Nov 4, 2003.

  1. Alessandro

    Alessandro Guest

    I have a file .aspx with four forms.
    In the second form i have a selection list, and items of this selection list
    are a "particular" mobileListitem (see the code below)

    Public Class PersonalListItem
    Inherits Web.UI.MobileControls.MobileListItem
    Public Property Name() As String
    Public Property Mail() As String
    Public Property Phone() As String
    End Property


    , if i type this code in that form: oPersonalListitem=
    ctype(selectionList.items(0),PersonalListItem) i have NO error, if i type
    the same code in the 3° or 4° form, i have an error (invalid cast). In all
    four forms i have enableviewstate=true


    AnyOne can HELP me, please ?
    Alessandro, Nov 4, 2003
    #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. Simon Niederberger
    Replies:
    2
    Views:
    16,497
    Christian Kaufhold
    Jan 7, 2005
  2. Andrew Crowe
    Replies:
    1
    Views:
    4,459
    Andrew Crowe
    Sep 13, 2004
  3. curiousity

    HOWTO autopost the selection list upon selection

    curiousity, Nov 21, 2003, in forum: ASP .Net Mobile
    Replies:
    0
    Views:
    266
    curiousity
    Nov 21, 2003
  4. Loebb
    Replies:
    0
    Views:
    199
    Loebb
    Feb 23, 2004
  5. Replies:
    1
    Views:
    208
Loading...

Share This Page