Mobile List ItemsAsLinks

R

rwoo_98

I have the following on a mobilepage:

SectionList
Command
List

The SectionList SelectType is a DropDown.
Both the SectionList and List are dynamically generated.
List also has an OnItemDataBind event, which adds additional text to
the List.
The List.ItemsAsLinks is set to false.

When the page comes up the items in the List are displayed as links and
contain a postback. I don't want the Items displayed as links. Any
ideas?

Thanks,
 
R

rwoo_98

Found the problem. If you double click the List object in the design
window, a ListCommandEventHandler is automatically created. Once this
happens, the items in the List are created with a postback.

Hope someone finds this useful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top