We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

ASP.Net MVC Grid Toolbar and Custom Editing

Thread ID:

Created:

Updated:

Platform:

Replies:

114501 Nov 21,2013 03:41 PM Feb 24,2015 06:13 AM ASP.NET MVC (Classic) 3
loading
Tags: Grid
Himanshu Kumar
Asked On November 21, 2013 03:41 PM

Using my own Add/Edit/Delete button instead of Syncfusion provided Toolbar
June 21, 2012 01:38 AM

Hi,

I am using Asp.Net MVC Grid with manual excel like editing feature in JSON action mode.

I am facing 2 issues.

1) I have requirement of using my own Save button instead of using "Update" button of Toolbar from the GRID. Can I make a call to the Save action method  specified in the grid's Mapper.SaveAction from my client side event.

2) Also I do not want to display the Toolbar at all, but want the editing feature (update). However, when I disable the toolbar for the grid and enable the Editing, the GRID does not show any records.

Shall appreciate quick response.

Thanks.

Himanshu Kumar

EXTRACT FROM MY CODE FOR GRID:

...

 .Editing(edit =>
          {             
              edit.AllowNew(false);
              edit.AllowDelete(false);
              edit.AllowEdit(true);            
              edit.EditMode(GridEditMode.ManualExcel);    
              edit.PrimaryKey(key => key.Add(p => p.ProductID));                  
          })              
       .ToolBar(tools =>   
       {
           tools.EnableToolbar(false);
       })
        .Mappers(mapper =>
        {
            mapper.SaveAction("BulkSave"); // the action method to perform the update action           
        })

....


Shanmugaraja K [Syncfusion]
Replied On November 26, 2013 02:01 AM

Hi Himanshu,

 

Thanks for using Syncfusion products.

 

We have updated your query  in  incident  116055.Please follow up that incident  for further reference.

 

Please let us know if you need further assistance.

 

Regards,

Shanmugaraja K.


Ganga
Replied On February 21, 2015 01:29 AM

I am also struck with the same problem. shall i pass the whole values of grid to controller using ajax ?

Shanmugaraja K [Syncfusion]
Replied On February 24, 2015 06:13 AM

Hi Ganga,

Thanks for using Syncfusion products.

We would like to let you know that the issue has been resolved in the Syncfusion v11.4.0.26. If, you are using Syncfusion version below 11.4.0.26, you may get this issue. So, We would also like to suggest you to upgrade to our Syncfusion latest version.

Please let us know if you need further assistance.

Regards,

Shanmugaraja K



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;