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

How to pass parameter and reload RadGrid ?

1 Answer 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Liu
Top achievements
Rank 1
Liu asked on 28 Nov 2016, 07:19 PM

Hi 

this is part of my RadGrid

                    <CommandItemTemplate>
                        <telerik:RadDropDownList ID="RadDropDownList1" DataSourceID="SqlDataSource2" DefaultMessage="選擇公司"  DataValueField="CompanyName" DataTextField="CompanyName" OnItemSelected="RadDropDownList_ItemSelected" AutoPostBack="true" runat="server"></telerik:RadDropDownList>
                    </CommandItemTemplate>

The RadDropDownList data comes from SqlDataSource2, and user select one, I wish it will pass parameter to SqlDataSource1 and let RadGrid rebind correct data again, How can I do ?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 01 Dec 2016, 11:57 AM
Hello,

Please check the suggestions provided in the following post:
http://www.telerik.com/forums/drop-down-filter-in-template-column#eXZKEcRfzkW7Hjm5n_N8xQ

I hope this will prove helpful.

Regards,
Eyup
Telerik by Progress
Telerik UI for ASP.NET AJAX is ready for Visual Studio 2017 RC! Learn more.
Tags
Grid
Asked by
Liu
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or