This is a migrated thread and some comments may be shown as answers.

RadGrid Batch Inline Update Dropdown stuck in infinite loop

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Swanand
Top achievements
Rank 1
Veteran
Swanand asked on 24 Apr 2020, 10:34 PM

Hi,

 

I am trying to implement a Batch Edit mode in a RadGrid from a DataTable say Documents. RadGrid is being generated from the code behind.

Documents datatable has 2 different columns say DocumentType as string and Publish Status as int which I want to be displayed as GridDropDownColumns.

I am also creating 2 other datatables for reference values of these columns.

Document type refers value and text to one column (TEXTValue) in it's reference datatable.

Publish Status refers value to one column (PublishID) and text to another column (TEXTValue)  in it's reference table.

For Cell value changed of the radgrid, I am running a javascript function which I got from telerik forms to save changes.

 

Problem:

The Document type column which refers both value and text to same column works fine but the Publish Status column which refers to 2 different columns for value and text field gets stuck in an infinite loop running the javascript function without making any saves to the database.

 

Can someone help me with figuring this problem out?

 

Thanks in advance,
Swanand Nalawade

1 Answer, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 29 Apr 2020, 10:06 AM

Hi ,

 

It seems that the Publish Status column will depend on values from other fields/columns/controls. I am afraid this is not supported with Batch editing and you will need to use InPlace editing instead:
https://www.telerik.com/support/kb/aspnet-ajax/grid/details/radgrid-batch-editing-templates-and-specifics

I hope this will prove helpful.

 

Regards,
Eyup
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Grid
Asked by
Swanand
Top achievements
Rank 1
Veteran
Answers by
Eyup
Telerik team
Share this question
or