Last post Apr 20, 2010 07:19 AM by nagender_reddy
Apr 20, 2010 12:58 AM|nagender_reddy|LINK
I am using mobile list control inside that i inserted a label when i bind any dataset to that list it is not displaying any information. In msdn it is mentioned the mobile list control is equivalent of web control is datalist. The code as follows.
<mobile:List Runat="server" ID="List2">
<mobile:Label runat="server" id="lblStudentName" Text='<% #Eval("StudentName") %>'>
in code behind
protected void Page_Load(object sender, EventArgs e)
MTestDataContext dc = new MTestDataContext();
List2.DataSource = dc.Students;
It is very urgent requirement to me..........
Apr 20, 2010 07:08 AM|mshoaiblibra|LINK
Kindly use the
rather then <Item>.
Mean to say that use label in <ItemTamplate>.
Apr 20, 2010 07:19 AM|nagender_reddy|LINK
ItemTemplate is not exist in the mobile list control. It will allow only items.