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

Need to have values populated after initial submit

1 Answer 43 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jess
Top achievements
Rank 1
Jess asked on 18 Sep 2017, 04:05 PM

I am making a page with two html forms, The first has two kendo comboboxes in which the user selects some options and then presses submit on the first section. I then look in the database to see if the user inputted a duplicate value. If a entry is found it returns it. I need the information from the returned entry to populate in the corresponding fields. Is this possible?

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 20 Sep 2017, 11:13 AM
Hello Jess,

While the question is rather architectural than directly related with the usage of our components, I would suggest you to implement an Ajax call to the method, responsible for querying the database. Hence, you can return the needed result in the data of its success method and populate the needed fields in the view. 

More information could be found in the forum thread below:

https://stackoverflow.com/questions/25068431/how-to-call-mvc-action-using-jquery-ajax-and-then-submit-form-in-mvc

Hope this information helps.

Regards,
Nencho
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ComboBox
Asked by
Jess
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or