Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > Problem with selection list !

Reply
Thread Tools

Problem with selection list !

 
 
Alessandro
Guest
Posts: n/a
 
      11-04-2003
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 ?


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
selection structure nested within another selection structure 4Ankit@gmail.com Javascript 1 12-07-2006 11:47 AM
JTable with row selection, but no cell selection Simon Niederberger Java 2 01-07-2005 04:17 PM
JS comparing innerHTML to text selection (window.getSelection() /document.selection) Andrew Crowe HTML 1 09-13-2004 02:22 PM
How to change a range selection to text selection? Loebb Javascript 0 02-23-2004 02:12 PM
HOWTO autopost the selection list upon selection curiousity ASP .Net Mobile 0 11-21-2003 12:57 AM



Advertisments