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

Cascading radcomboboxes in a detailtable that is in batch edit mode

1 Answer 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 17 Apr 2015, 08:01 PM

For the last few days, I've tried, with no success to achieve something that should be doable.

Cascading radcomboboxes in a detailtable that is in batch edit.

I have a Radgrid bound to a sqldatasource with a GridTableView in batch edit.

Column 1, is a gridtemplate column with a radcombobox (combo1), bound to a sqldatasource. AllowCustomText="true"

Column 2 is a gridtemplate column with a radcombobox (combo2) that needs the selected item in combo1 and then rebind or rebuild the list of items based upon the selection of combo1. Again, autotext=True

Column3 is a gridtemplate textbox that will be populated based upon a query of combo1 and combo2 selected values (or text - doesn't matter).

I know you can't set autopostback=true because of the batch edit.

I've tried figuring out a client side rebinding of combo2, but no joy.

Can anyone PLEASE provide some example of this?

thanks in advance.

John

 

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 22 Apr 2015, 08:19 AM
Hello John,

Related RadComboBox controls are not supported scenario with Batch Editing, because it is a client-side oriented edit mode and (as you have mentioned), you can not set the AutoPostBack property of the RadComboBox to true. Although that there is a LoadOnDemand functionality, due to some limitations with the Batch Editing, it is not possible get around all the issues that will come afterwords.

Nevertheless, a recently posted Code Library with an extension for the Batch Editing that uses an entirely different concept for displaying the RadComboBox controls in the grid could be found in the following link:
Please take a look at the Code Library and see if the Related RadComboBoxes extension could meet your requirements.


Regards,
Konstantin Dikov
Telerik
 

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

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