M
msnews.microsoft.com
I have a problem of accessing the custom class that I inherits from
mobilelistitem. I create the following code for new class of mobilelistitem1
and putting value on this class for the List.
Class MobileListItem1
Inherits System.Web.UI.MobileControls.MobileListItem
Public Value2 As String
Public Value3 As String
End Class
And when I click the List, I generate an item_command event and have trigger
value of 'e'. In normal I can use e.ListItem.value to access the normal
class value, but if I use the custom class, how can I access the value2 and
value3 value during the system generated event?
Simon
mobilelistitem. I create the following code for new class of mobilelistitem1
and putting value on this class for the List.
Class MobileListItem1
Inherits System.Web.UI.MobileControls.MobileListItem
Public Value2 As String
Public Value3 As String
End Class
And when I click the List, I generate an item_command event and have trigger
value of 'e'. In normal I can use e.ListItem.value to access the normal
class value, but if I use the custom class, how can I access the value2 and
value3 value during the system generated event?
Simon