Urgent - How To Cancel Combo Post Back

6 replies. Last post: June 3, 2011 7:06 AM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
A YousifMember

I need to be able to cancel a fly post back action on the client side.  In our case, we have a WebCombo and when the user clears the text box, i.e., deletes what's in there (causing a load data fly post), we'd like to cancel the native fly post back so we can send our own post back to indicate a data cleared event.

Adding a custom request does not work for us as it's wrapped within the "LoadData" request and we don't want that.  Additionally, we return false in this case from the OnBeforeRequest but that doesn't impact the fly request.  It's still submitted.  I would think returning false would cancel the request to fly post.

This is an urgent need for us and need to get this working ASAP please.  Thank you.

[EDIT] I forgot to mention that a custom request works, i.e., the post back works, however, our custom server-side handler is invoked but does not affect any UpdatePanel objects on the form.  This is the main issue.  If the custom request via fly post back can update the update panels then we'd be fine.

[EDIT] I tried these settings yesterday and they still didn't help.  My update panels did not update.

this.AspNetAjaxSettings.UpdateControlScripts = true;
this.AspNetAjaxSettings.UpdateControlStyles = true;

Any other ideas?
All times are GMT -5. The time now is 1:59 PM.
Previous Next