autocompletebox silverlight toolkit inside radgridview

2 posts, 0 answers
  1. naurah
    naurah avatar
    2 posts
    Member since:
    Mar 2011

    Posted 05 Feb 2014 Link to this post

    How to populate autocompletebox inside radgridview using GridViewDataColumn (web svc)


    For radcombobox I'm using ((GridViewComboBoxColumn)this.radGridView.Columns["Country"]).ItemsSource = e.Result;
    For autocompletebox I'm try to use same as radcombobox inside radgridview but errors occur.
     ((GridViewDataColumn)this.radGridView.Columns["Country"]).ItemsSource = e.Result; but errors. 


    My Xaml :

                          <telerik:GridViewDataColumn   Header="Nationality"  UniqueName="Nationality">
                                <telerik:GridViewDataColumn.CellTemplate>
                                    <DataTemplate>
                                        <sdk:AutoCompleteBox   x:Name="txtVesselType" ValueMemberBinding="{Binding Nationality, Mode=TwoWay}" Margin="18,4,5,6" FilterMode="Contains"  />
                                    </DataTemplate>
                                </telerik:GridViewDataColumn.CellTemplate>
                            </telerik:GridViewDataColumn>









  2. Hristo
    Admin
    Hristo avatar
    41 posts

    Posted 06 Feb 2014 Link to this post

    Hello Naurah,

    Base on your sample code, I believe that your are using the Microsoft AutoCompleteBox. Is that so ? Can you try working our RadAutoCompleteBox and verify whether you get the same behavior ?

    You can find more information about this control in our online documentation on this link, and you can also see our online demo here.

    I'm attaching a sample project, based on the code you have provided with implemented RadAutoCompleteBox.

    Regards,
    Hristo
    Telerik

    Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

  3. DevCraft banner
Back to Top