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.
Unfortunately, activation email could not send to your email. Please try again.

CauseValidation, framebar

Thread ID:





47914 Aug 16,2006 04:20 AM Aug 21,2006 09:54 AM Windows Forms 3
Tags: Tools
Administrator [Syncfusion]
Asked On August 16, 2006 04:20 AM


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

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

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 18, 2006 11:19 PM


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 09:54 AM

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.

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.