Bind a RadComboBox inside RadGridivew

3 posts, 0 answers
  1. raghul
    raghul avatar
    11 posts
    Member since:
    Jul 2010

    Posted 29 Nov 2011 Link to this post

    Hi,

    I need to bind a combobox which is present inside the RadGridView, I need to know as how to find the child control inside the RadGridView.
    Please find my attached Codings.
    <telerik:RadGridView.Columns>
                            <telerik:GridViewColumn Header=" " Width=".02*" UniqueName="Select">
                                <telerik:GridViewColumn.CellTemplate>
                                    <DataTemplate>
                                        <CheckBox  Name="chkSelect"/>
                                    </DataTemplate>
                                </telerik:GridViewColumn.CellTemplate>
                             </telerik:GridViewColumn>
                                    <telerik:GridViewColumn Header="CategoryWise" UniqueName="CategoryWise" Width=".4*" >
                                        <telerik:GridViewColumn.CellTemplate>
                                            <DataTemplate>
                                                <telerik:RadComboBox Name="cboCategoryWise" IsReadOnly="True" IsEditable="False" ItemsSource="{Binding CategoryID}"
                                                                     ></telerik:RadComboBox>
                                            </DataTemplate>
                                        </telerik:GridViewColumn.CellTemplate>
                                    </telerik:GridViewColumn>
                           </telerik:RadGridView.Columns>

    How should I find the radcombobox which is present inside the Gridview and bind the list to it??
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 29 Nov 2011 Link to this post

    Hello Raghul,

    How about using a GridViewComboBoxColumn ?


    Best wishes,
    Pavel Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. raghul
    raghul avatar
    11 posts
    Member since:
    Jul 2010

    Posted 29 Nov 2011 Link to this post

    Since I need to have selecteindexchange event to fire I cannot use GridviewComboboxcolumn
Back to Top