This is a migrated thread and some comments may be shown as answers.

Required combo validation on button click

3 Answers 322 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Prashant
Top achievements
Rank 1
Prashant asked on 29 Oct 2019, 02:16 AM

Hi All,

What is the best approach to notify required combobox on button click? I have a form with 4 tabs and each tab has some mandatory fields.

If user clicks on button i want to validate all tabs and notify user with highlighting required controls. 

Looking for possible solutions for above workflow.

Any help would be appreciated,

Regards,

Prashant

 

 

 

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Dilyan Traykov
Telerik team
answered on 31 Oct 2019, 01:12 PM

Hi Prashant,

I have come across the following threads which demonstrate possible approaches for handling such a requirement:

- validation on button click event wpf c#
Force validation on bound controls in WPF
-
 WPF Validation: How to Validate the Whole Form on the Button Click

As this requirement is not specific to the Telerik UI for WPF controls and such custom implementations go out of the scope of our support services, I can recommend forwarding your inquiry to the StackOverflow and MSDN forums if you need any further assistance with the concrete implementation.

I do hope you find the provided resources useful. If I can assist you with any queries which directly concern our controls, please let me know.

Regards,
Dilyan Traykov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Prashant
Top achievements
Rank 1
answered on 31 Oct 2019, 10:14 PM

Hi Dilyan,

Thanks for pointing me in the right direction. I was trying to avoid code behind but i am going to implement this approach

- Force validation on bound controls in WPF

Thanks again,

Prashant

 

 

 

0
Dilyan Traykov
Telerik team
answered on 01 Nov 2019, 01:14 PM

Hi Prashant,

I'm happy to hear you found my pointers helpful. If I can further assist you with anything else, please let me know.

Regards,
Dilyan Traykov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
ComboBox
Asked by
Prashant
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Prashant
Top achievements
Rank 1
Share this question
or