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

2 posts, 0 answers
  1. Bryan
    Bryan avatar
    1 posts
    Member since:
    Jul 2013

    Posted 13 Aug 2015 Link to this post

    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

  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 17 Aug 2015 Link to this post

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