Solved

Aborting the Save click event

Posted on 2009-07-01
2
207 Views
Last Modified: 2013-12-17
Inside the Save click event I run tests, and sometimes determine the conditions don't alow a Close to be called. But the dialog seems to close regardless of my Close() function not being reached.

Could someone please tell me what I can do to abort the call to Save inside the Save click event.

Thanks,
newbieweb
0
Comment
Question by:newbieweb
2 Comments
 
LVL 18

Accepted Solution

by:
Gary Davis earned 500 total points
Comment Utility
Usually all you have to do is return false from the event to prevent the form from being submitted.
Gary Davis
0
 

Author Comment

by:newbieweb
Comment Utility
Thanks. I found the Infragistics button had a property set where the default value of the button was set to OK. I changed it to "none" and the problem was solved.

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now