[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

pdadev

11/11/2002 4:08:00 PM

I'm a newbie to MMIT and .net...
I have the following problems with the objectlist control.

1.I 'm trying to show more than one coulmn but it only
shows one coulmn.

2.

when i click on an item ..i get the following error...
Compiler Error Message: CS0122: 'objList_ItemCommand
(object,
System.Web.UI.MobileControls.ObjectListCommandEventArgs)'
is inaccessible due to its protection level



<mobile:ObjectList id="objList" runat="server"
LabelField="SeqNum" OnItemCommand="objList_ItemCommand"
OnItemSelect="objList_ItemCommand1" LabelStyle-
StyleReference="title" CommandStyle-
StyleReference="subcommand">
</mobile:ObjectList>

my code behind...

public void objList_ItemCommand1(
object sender,
ObjectListSelectEventArgs e)
{
String SeqNum = e.ListItem.Value;

}



public void objList_ItemCommand(object sender,
System.Web.UI.MobileControls.ObjectListCommandEventArgs e)
{
String SeqNum = e.ListItem.Value;
}