none
POST GET WITH MVC RRS feed

  • Question

  • I have a query about MVC with c #, I have a page which I call from the column of a table executing an ajax function, this works well for me, but when I reload the page with a get method, the data disappears. I need the data to be filled again if I refresh the page

    this is my code of my js file

    var codProject= $('#codProject').val();
    var action= $('#action').val();
    var fnEditar = function (codProject) {
        var params = {
            codProject: codProject,
            action:"Edit"
        };
        var url = urlContent + "Projects/Register?codProject=codProject&action=action";
        App.getFormularioPost(params, url);
        
    }

    if this is not the right forum please pass the thread to the right one
    • Edited by Augusto C Tuesday, September 24, 2019 1:24 PM
    • Moved by CoolDadTx Tuesday, September 24, 2019 1:47 PM ASP.NET related
    Tuesday, September 24, 2019 1:18 PM

Answers

All replies