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

RadGrid Dyanmic Dropdown in Batch Mode

1 Answer 198 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shivaji
Top achievements
Rank 1
Shivaji asked on 03 Apr 2015, 08:32 PM

Here is my scenario

I have two grid and two buttons and layout is as follows

UI :

1. Student_Grid <Student Name, Student ID, Select Checkbox> : Student Info Grid

2. Move Button : Button which will Copy Selected Students from Student_Grid to Notice_Grid

3. Notice_Grid <Student Name, Student ID, some columns, Hobbies_dropdownlist>

4. Submit  Button : which will send data to server.

DataTable :

1. Student_data <master>

2. Hobbies_data <master>

3. Student_hobbies <relationship table>

Requirement :

User will select few students from Student_Grid and use Move button to copy those to Notice_Grid where user selects Hobbies (which is different for different students)

Problem:

I am creating datatable in aspx.vb page and then binding that data to Notice_Grid. Problem is, I m not able to populate dropdownlist datasource since, it is dynamic. I tried different ways but didnt find way to assign datasource to dropdownlist/combobox based on studentid. each row could have different list under hobbies column.

 

Thanks in advance

 

Note: I am using Radgrid with Batch mode

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 08 Apr 2015, 08:34 AM
Hello Shivaji,

Due to the fact that when Batch Editing is used, each column will have only one editor for the entire column, which will be moved along the currently edited cell. Additionally, enabling LoadOnDemand for a drop down control will cause multiple issues with the built-in functionality of the Batch Editing, so it should be considered as not supported scenario.

Nevertheless, for the requirement that you have I could suggest the following Code Library, where you will find Batch Editing Extension, which could be used for simulating a RadComboBox with enabled LoadOnDemand functionality. Furthermore, you can specify from which column to retrieve a value to the server-side event for providing the relevant data:
Hope this helps.


Regards,
Konstantin Dikov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Grid
Asked by
Shivaji
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or