Greetings,
I have a sever problem with template columns when on batch mode. To see and reproduce the problem I made a web page that can be downloaded from here.
Please download and run the referenced website with the latest version of RadControls. Do the following to produce the error:
I have a sever problem with template columns when on batch mode. To see and reproduce the problem I made a web page that can be downloaded from here.
Please download and run the referenced website with the latest version of RadControls. Do the following to produce the error:
- Click the "add new record" button
- Then click on any of the other closed rows
What happens is that the newly added row cells are all closed except the template column cell (the one with the search box).
I dug into the client side code, and noticed that for the template column there are two editor DIVs. One is inserted to the edited row while the other stays as is. One of the DIVs corresponds to the edit template while the other to the insert template.
Am I doing something wrong? How to combine the two editor DIVs into one?
I tried creating an inherited GridTemplateColumnEditor but found that the column doesn't use it.
5 Answers, 1 is accepted
0

أشرف
Top achievements
Rank 1
answered on 30 Dec 2013, 12:31 PM
Please view the attached animated gif
0
Hello Ashraf,
As documented in our help article "Batch Editing", when using template columns only the editor in the EditItemTemplate will be initialized and will work properly.
Nevertheless, our developers team is currently working on this functionality (for supporting InsertItemTemplate with Batch edit mode) and it should be introduced in one of our future releases.
For the time being, only the EditItemTemplate should be used.
Regards,
Konstantin Dikov
Telerik
As documented in our help article "Batch Editing", when using template columns only the editor in the EditItemTemplate will be initialized and will work properly.
Nevertheless, our developers team is currently working on this functionality (for supporting InsertItemTemplate with Batch edit mode) and it should be introduced in one of our future releases.
For the time being, only the EditItemTemplate should be used.
Regards,
Konstantin Dikov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Accepted
Hello Ashraf,
As documented in our help article "Batch Editing", when using template columns only the editor in the EditItemTemplate will be initialized and will work properly.
Nevertheless, our developers team is currently working on this functionality (for supporting InsertItemTemplate with Batch edit mode) and it should be introduced in one of our future releases.
For the time being, only the EditItemTemplate should be used.
Regards,
Konstantin Dikov
Telerik
As documented in our help article "Batch Editing", when using template columns only the editor in the EditItemTemplate will be initialized and will work properly.
Nevertheless, our developers team is currently working on this functionality (for supporting InsertItemTemplate with Batch edit mode) and it should be introduced in one of our future releases.
For the time being, only the EditItemTemplate should be used.
Regards,
Konstantin Dikov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0

أشرف
Top achievements
Rank 1
answered on 30 Dec 2013, 03:49 PM
It's already working! When I removed the InsertItemTemplate everything worked alright.
This is exactly what I want. I want just one template. InsertItemTemplate was an annoying redundancy.
Did you implement this in the last service pack? I remember I once tested removing the InsertItemTemplate and found that when adding rows the target cell was blank.
Maybe InsertItemTemplate is not logical in the batch mode. What do you (and your clients) think?
This is exactly what I want. I want just one template. InsertItemTemplate was an annoying redundancy.
Did you implement this in the last service pack? I remember I once tested removing the InsertItemTemplate and found that when adding rows the target cell was blank.
Maybe InsertItemTemplate is not logical in the batch mode. What do you (and your clients) think?
0
Hi Ashraf,
I am glad to see that everything is working as expected now.
As for the InserItemTemplate, it is yet to be implemented and it is not available in our latest release.
Regarding the need of the InsertItemTemplate, it is always a plus to have a way to customize the look and feel and to have more control. Also, I may assure you that the implementation of the InsertItemTemplate will not break the current workflow of the grid.
Regards,
Konstantin Dikov
Telerik
I am glad to see that everything is working as expected now.
As for the InserItemTemplate, it is yet to be implemented and it is not available in our latest release.
Regarding the need of the InsertItemTemplate, it is always a plus to have a way to customize the look and feel and to have more control. Also, I may assure you that the implementation of the InsertItemTemplate will not break the current workflow of the grid.
Regards,
Konstantin Dikov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.