Need to have values populated after initial submit

2 posts, 0 answers
  1. Jess
    Jess avatar
    1 posts
    Member since:
    Jun 2017

    Posted 18 Sep Link to this post

    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?

  2. Nencho
    Admin
    Nencho avatar
    1671 posts

    Posted 20 Sep Link to this post

    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.
Back to Top