Editor in WebForm .Net and C# postback doesnt get new values
Editor in WebForm .Net and C# postback doesnt get new values

I have the code of GridView and it turn to datatable with editor, when i click in one row (inline editor) i change the values of any cell after i use a button to do the (Submit) the Server (C#) dont get the edited values, it returns the original values, how i can solve it? im using Web Form with C# and .Net
Code: https://jsfiddle.net/JuJoGuAl/m5sqebvd/
How i can solve it?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Can you show me the Javascript you are using please?
Thanks,
Allan
@allan this is:
You've got this commented out:
so nothing is being submitted anywhere - it is just being saved locally in the DataTable.
If you want to use Editor with .NET have a look at the documentation here to see how to use our server-side libraries to write the data to the database.
Also there is an Editor download package for .NET which you can download and install to get the examples working on your computer / server which can be useful for experimenting with the options and seeing how it all fits together.
Allan
But that examples apply to MCV .net and im using WebForm (Client-Server), and i cant do the "updates" via ajax (there a lot code for do it), i need do the update via Server (Postback)
Hi,
You are absolutely right, our examples focus on WebAPI it fits really well with Ajax requests such as those Editor uses.
That said, as pour WebForms documentation shows](https://editor.datatables.net/manual/net/webform) it is possible to use Editor in a WebForm / ASPX environment.
If you want to do the update to the server using a
<form>
element submit rather than Ajax, then Editor is not the right tool to use.Allan