jQuery UI Widgets Forums Navigation Tree posting data to the database MVC4

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • posting data to the database MVC4 #23218

    gaurgupta
    Member

    Hi ,
    Iam using a json bimding tree, getting all values displayed in the view, but I am stuck in trying to post the data back to the controller(aps.net MVC4) using an ajax call, also when i use ‘getItems’ method i get the id and parent id in some kind off encrypted form. I want to amend the treeview and then save the changes to the database. Please help me with this
    Thanks in Advance

    posting data to the database MVC4 #23328

    Peter Stoev
    Keymaster

    Hi,

    If your jqxTree is in a Form and you want to Post that form, just set the “name” attribute of the Tree’s DIV tag and the selected item’s value will be automatically posted. Another option is to create a hidden INPUT tag and fill it with the required information. Then POST the INPUT tag’s data either through a Form Submit or through Ajax(http://api.jquery.com/jQuery.post/).

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.