While specifying the URL that is to be triggered on performing the CRUD operations, the action name is to be prepended with the controller name in order to avoid the routing issues. Solution In the dataSource property of the Grid, you can bind a URL link and thus obtain and process the data from the Server/Code-behind. The various properties of the dataManager class are tabulated as follows.
Example In the following code example, the dataSource is bound to the Grid from a remote data and an UrlAdaptor is used. JS MVC ASP.NET Screenshot: Figure 1: Editing record Figure 2: Obtaining the values of edited record at server side Figure 3: Modified Grid with Post operation displayed in the bottom |
Article ID: | Published Date: | Last Revised Date: | Platform: | Control: |
3013 | 12/10/2014 | 07/07/2016 | JavaScript | ejGrid |
or the page will be automatically redirected to sign-in page in 10 seconds.
Hi,
I am using Javascript for my ui development using asp.net mvc. In post action when i am using DataManager as method argument it giving compile that DataManager not found. How to include DataManger in my action method? is there dll need to download ? i saw some where that Syncfusion.Javascript.dll would resolve but where to download that?
Thanks in Advance
Vinod.
hi Vinod,
DataManager Model class comes from "Syncfusion.Javascript" namespace in the library "Syncfusion.EJ.dll". You can download ASP.NET MVC Syncfusion product from the below link to use the library "Syncfusion.EJ"
https://www.syncfusion.com/account/downloads/aspnetmvc/16_2_0_46
Also please refer the following link for further details
https://www.syncfusion.com/products/aspnetmvc
You may also create your own Model class for DataManager that matches the JSON structure of data sent in Ajax post.
Regards,
Alan Sangeeth S