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. Image for the cookie policy date
close icon

CauseValidation, framebar

hi!

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

3 Replies

PR Purusothaman R Syncfusion Team 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.

Regards,
Purusothaman.R


AD Administrator Syncfusion Team August 19, 2006 03:19 AM UTC

hi!

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?

thanks!


SA Saradha Syncfusion Team 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.

Forum_47914.zip


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

Regards,
K.Saradha Devi.

Loader.
Live Chat Icon For mobile
Up arrow icon