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

RadGrid column filter works on Dev Env but not on pubished site

1 Answer 16 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bryan
Top achievements
Rank 1
Bryan asked on 14 Aug 2015, 01:39 AM

Hello,

 New to RadGrid and all the fancy feature that are implemented out of the box.  One that I found very helpful is the column filter.  I am using the filter with a linqdatasource for the grid datasource.  The filter is implemented using :

AllowFilteringByColumn="True"

 Column are specified like this:

<telerik:GridBoundColumn DataField="App.First" DataType="System.String" FilterControlAltText="Filter" HeaderText="First Name"   CurrentFilterFunction="Contains" FilterDelay="2000" ShowFilterIcon="false" AutoPostBackOnFilter="true"></telerik:GridBoundColumn>

 This basic implementation does work on my development environment.  However, once I compile and publish this project to my production server, the filters stop working.  Watching the browser console I can see ‚Äčthese errors happen when the filter is used on the production site:

 

TypeError: $find(...) is null bookingmgr:1:0
SyntaxError: unreachable code after return statement bookingmgr:1:13
TypeError: $find(...) is null

It seems as if the functions and or telerik library use to implement the filter function are coming over when I publish the project.  Any ideas as to why this is?

 Thanks,

Bryan

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 17 Aug 2015, 02:11 PM
Hello,

Based on the provided information it would be difficult to say why you encounter problems on deployment. However, you can check the forum thread below where a similar issue is disscused:
http://www.telerik.com/forums/javascript-$find%28-=-radgrid1-clientid-%29-returns-null-on-the-webserver

If this not helps, provide live URL where we can test the control, observe the described issue and advice you further.

Regards,
Pavlina
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
Tags
Grid
Asked by
Bryan
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or