Problem with selection list !

A

Alessandro

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 ?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top