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

Binding a ComboBox to data displayed in a data grid

2 Answers 45 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 02 Feb 2021, 07:07 PM
     Lost on implementing a combobox whos value will dictate what data is displayed in a data grid. So when a new value is selected from the datagrid, without refreshing the page and using the radajaxmanager to read from a database and refresh the data in the data grid. Is that possible and what other components will be needed? So far I am using but still not sure how to use the RadAjaxManager, RabComboBox, RadSplitter, RapPane, and a RadGrid.

2 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 03 Feb 2021, 05:51 PM

Figured it out:

        <telerik:RadAjaxManager runat="server" ID="RadAjaxManager_ManualRequest" UpdateInitiatorPanelsOnly="true">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="ddlCustomerID">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="RadGrid1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>

0
Doncho
Telerik team
answered on 05 Feb 2021, 08:25 AM

Hi David,

I am glad to hear you have found a solution to the issue.

Here are some resources concerning the Ajaxifying of controls, that you may find useful in the future:

Kind regards,
Doncho
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ComboBox
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Doncho
Telerik team
Share this question
or