FilterTemplate Javascript event runtime error

Venkatesh

I have a RadComboBox inside the FilterTemplate with OnClientSelectedIndexChanged="NameFilterIndexChanged". I am making radgrid's AllowFilteringByColumn="Flase" when no data is available and AllowFilteringByColumn="true" when data is available.

I am getting error like "0*800a1391 - JavaScript runtime error: 'NameFilterIndexChanged' is undefined" when AllowFilteringByColumn="true". Please help me on this.

Regards,

Venkatesh.

Nencho

I would suggest you to place the function for the OnClientSelectedIndexChanged in the FilterTemplate, where the RadComboBox in question is nested in. You can observe this approach, implemented in the following online demo (refer to RadComboBoxCity):

Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items

Eyup

I am sending a sample RadGrid web site containing various solutions for integrating grid filtering via a RadComboBox. Please run the attached application and let me know if it helps you.

Regards,
Eyup
Telerik

Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.