This example demonstrates how to filter the ASPxGridView bound to SqlDataSource via the ControlParameter. The ControlParameter is passed to the SqlDataSource from an external ASPxComboBox. The ASPxComboBox is inside TemplateControl. Sometimes it's hard to correctly build the ControlParameter's ControlID property manually, so it's better to build it at runtime. In fact, the ControlParameter's ControlID property equals the UniqueID property of an external ASPxComboBox.
lexdx / how-to-filter-aspxgridview-bound-to-sqldatasource-via-external-combobox-in-aspxroundpanel-e2041 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from devexpress-examples/out-of-maintenance-how-to-filter-aspxgridview-bound-to-sqldatasource-via-external-combobox-in-aspxro
.NET, ASP.NET Web Forms, ASPxGridView
Home Page: https://codecentral.devexpress.com/e2041
License: Other