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.

Toolbar and Validators

Thread ID:

Created:

Updated:

Platform:

Replies:

80431 Apr 2,2009 10:14 AM Apr 3,2009 08:19 AM ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Neil Stevens
Asked On April 2, 2009 10:14 AM

Hi,

I am having some problems with the Toolbar, i am using the toolbar in an application and one of the buttons on the toolbar is a save button.

I want the save button to fire off my validators but it doesnt seem to work, and there is no CausesValidation property on the toolbar items.

Could you explain how i can get the toolbar buttons to fire my validator controls prior to posting back to the server


Melba Winshia [Syncfusion]
Replied On April 3, 2009 08:19 AM

Hi Neil,

Thank you for your interest in Syncfusion Products.

We do not have CausesValidation property for the toolbar items. But you can use Page.Validate() method to Validate Page in toolbar item click event. Please refer the sample in the below link which illustrates the above:

http://files.syncfusion.com/support/samples/Tools.Web/7.1.0.21/F80431_ToolbarValidator/main.htm

Please try this and let me know if this helps.

Thanks,
Melba


CONFIRMATION

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.

;