We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CauseValidation, framebar

Thread ID:





47914 Aug 16,2006 08:20 AM UTC Aug 21,2006 01:54 PM UTC WinForms 3
Tags: Tools
Administrator [Syncfusion]
Asked On August 16, 2006 08:20 AM UTC


how to fire the validation event when user click on any bar item?

Purusothaman R [Syncfusion]
Replied On August 16, 2006 09:46 PM UTC

Hi Lim,

You can use the click event and perform validation check. If not, please provide some more information about the application scenario in which you need to validate.

Thanks for using Syncfusion Products.


Administrator [Syncfusion]
Replied On August 19, 2006 03:19 AM UTC


My scenerio is as follow:

i have a datagrid(GDBG), each editing perform by the user have to be validated before save it.

If the user input value is invalid, the user cannot do anything without key in a valid value.
It''s fine if the other controls property ''CauseValidation'' is set to true.
But somehow the ChildFrameBarItem is still clickable and the Click event is fired..

how do i prevent the situation happens?


Saradha [Syncfusion]
Replied On August 21, 2006 01:54 PM UTC

Hi Lim,

You can use the UpdateUI event of the barItem to validate the barItem before triggering the click event of the barItem.Note that this event will be triggered only when the UpdateUIMFCStyle property of the mainFrameBarManager is set to true.Please refer the sample attached.


Please let me know if you have any questions.Thanks for using Syncfusion products.

K.Saradha Devi.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon