Solved

Aborting the Save click event

Posted on 2009-07-01
2
210 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
ID: 24760117
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
ID: 24760153
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 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