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

Event on ComboBox Autocompleter

1 Answer 58 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Gullo
Top achievements
Rank 1
Gullo asked on 16 Feb 2012, 10:29 AM
Good morning,

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


1 Answer, 1 is accepted

Sort by
0
Kalina
Telerik team
answered on 17 Feb 2012, 04:34 PM
Hi Gullo,

Please take a look at the "ComboBox / Combo in Grid" online demo.
Feel free to contact us if you have additional questions.

Regards,
Kalina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
ComboBox
Asked by
Gullo
Top achievements
Rank 1
Answers by
Kalina
Telerik team
Share this question
or