I was basing some code off this example:
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/comboingrid/defaultcs.aspx?product=grid
I got all the complicated things to work, but when I go to insert I can't seem to figure out the selected RadComboBox items DataValueField value.
I noticed in the example that they are capturing it in "OnSelectedIndexChangedHandler" and storing it in a session variable. Later they use a Session param to SQL insert with a SQL Data source.
I'm using EF4 in 'Manual' mode, and I really don't want to store the value in a Session variable.
In my RadGrid InsertCommand handler, I do the standard:
Is there a better way to pass on a selected RadComboBox value to the hosting RadGrid row/item?
Any way to do it so that (GridEditableItem).UpdateValues or ExtractValues works?
Thanks,
Frank
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/comboingrid/defaultcs.aspx?product=grid
I got all the complicated things to work, but when I go to insert I can't seem to figure out the selected RadComboBox items DataValueField value.
I noticed in the example that they are capturing it in "OnSelectedIndexChangedHandler" and storing it in a session variable. Later they use a Session param to SQL insert with a SQL Data source.
I'm using EF4 in 'Manual' mode, and I really don't want to store the value in a Session variable.
In my RadGrid InsertCommand handler, I do the standard:
GridEditableItem theItem = e.Item
as
GridEditableItem;
BusinessObject bo = ApplicationContext.Current.Entities.BusinessObject.CreateObject();
theItem.UpdateValues(bo);
Is there a better way to pass on a selected RadComboBox value to the hosting RadGrid row/item?
Any way to do it so that (GridEditableItem).UpdateValues or ExtractValues works?
Thanks,
Frank