How to pass parameter and reload RadGrid ?

2 posts, 0 answers
  1. Liu
    Liu avatar
    14 posts
    Member since:
    May 2014

    Posted 28 Nov 2016 Link to this post

    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 ?

  2. Eyup
    Admin
    Eyup avatar
    3740 posts

    Posted 01 Dec 2016 Link to this post

    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.
Back to Top