Navigation Widget and Validators

Posted by Community Admin on 04-Aug-2018 23:26

Navigation Widget and Validators

All Replies

Posted by Community Admin on 17-May-2013 00:00

Hi there,

I have a custom widget with validation controls. If by chance the validators are active (user tried to submit some information with invalid data) but then decides to abandon what they were doing on the widget and goes up to navigate away to another page (via the Navigation Widget) -- the form validators are preventing the page redirects with in the navigation control.

I would have expected a property on the Navigation Widget to 'ignore' validation rules (CausesValidation = false) or something like that on it's onclick event.... Can you please provide a solution to how this can be resolved?

Thanks!

Posted by Community Admin on 19-May-2013 00:00

Hi Rico,

Would it help if you use the ValidationGroup property on your custom widget validators?

Kind regards,
Daniel

Posted by Community Admin on 21-May-2013 00:00

Hi Daniel,

Thanks for the suggestion. I made the necessary changes, and the behavior I was looking for appears to be working now.

Cheers!

This thread is closed