Good morning,
I have on my RadGrid a RadComboBox Control
On that Cotnrol i set a DataSourceID
Now the ComboBox works fine with, i see all the Addresses and i can search with the "Contains" Filter. My Question is now how can i work with the selected Items. For example i want to create a new recordset on my Grid, then i have to select an Address.
But for insert my Record i have to read the ID of the Address and then make my insert statement.
Regards
I have on my RadGrid a RadComboBox Control
<
telerik:RadComboBox
runat
=
"server"
ID
=
"comboBoxAddress"
AllowCustomText
=
"True"
DataSourceID
=
"objDataSourceAddress"
EnableLoadOnDemand
=
"True"
Filter
=
"Contains"
DataTextField
=
"FirstName"
EmptyMessage
=
"Suchen nach Adressen..."
Width
=
"289px"
MaxHeight
=
"100px"
>
</
telerik:RadComboBox
>
On that Cotnrol i set a DataSourceID
<
asp:ObjectDataSource
ID
=
"objDataSourceAddress"
runat
=
"server"
TypeName
=
"Logic.AddressBll"
SelectMethod
=
"Select"
></
asp:ObjectDataSource
>
Now the ComboBox works fine with, i see all the Addresses and i can search with the "Contains" Filter. My Question is now how can i work with the selected Items. For example i want to create a new recordset on my Grid, then i have to select an Address.
But for insert my Record i have to read the ID of the Address and then make my insert statement.
Regards