Canceling ObjectDataSource selecting event

L

Lubomir

Hi,
I want to evaluate parameters passed by ListView to ObjectDataSource and
cancel this event in a case of error.

If I set Cancel property of the ObjectDataSourceSelectingEventArgs to true,
my ListView is completly wiped out - it will not be generated at all. Other
controls on a web page are displayed just fine.

Why is this happening?

Thanks,
Lubomir
 

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

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top