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 ?
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 ?