Databound SelectionList Problem
Can somebody help me out??
This is my problem...I have a Databound Selectionlist on my mobile form.
this is how i fill it
The problem is that i do not get the list of selected values on the other
form.I always get "Select a value" which shd be displayed only when there
are no items selected.The code works if i add items without databinding.ie.,
when i manually do
<mobile:SelectionList id=AuthorList runat="server" SelectType="CheckBox">
<item text = .../>
I am pretty new to ASP.NET and i have no idea what to do....
This is the code i use to display the selected items on another form.
For Each myitem In AuthorList.Items
If (myitem.Selected) Then
If (Text.Length > 0) Then
Text = Text & Separator
Text = Text & myitem.Text & " : " & myitem.Value
If (Text.Length = 0) Then
Text = "Select a Value"
Label1.Text = Text
ActiveForm = Form2
|All times are GMT. The time now is 08:40 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.