Conditional client side behaviour based on return value from databound Insert method

R

Rob

Hi,

I am using a databound web control (infragistics webgrid) whose dataobject's
delete row property is set to run a particular method in the Business Logic
Layer. Before calling the Data Access Layer to perform the row delete, a
some business rule validation is performed. If it fails the validation, I
want to return a value to the presentation layer which will display a label
informing the user that the delete row was rejected.

Unfortunately, the infragistics control does not seem to have an appropriate
server side handler to do perform the necessary exception handling, so I'm
wondering if there's a way I can check the return value of the delete method
in the .aspx file to determine if the deletion was accepted.

If it's not possible, is there any other way that I may be able to handle
this situation?

Thanks
Rob
 

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,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top