Grid crashes filtering any column

3 posts, 0 answers
  1. Paul Taylor
    Paul Taylor avatar
    41 posts
    Member since:
    Jun 2010

    Posted 13 Dec 2011 Link to this post

    I have an application with various pages with RadGrids each of which uses various column types. The application works perfectly on my local (IIS7) development environment. However when I deploy it to an (IIS6) staging environment, whenever I use any of the column filters, on any of the grids, I get the following error:

    [InvalidCastException: Unable to cast object of type 'ASP.site_master' to type 'Telerik.Web.UI.GridTableView'.] Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument) +1668 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

    All the pages in the site do use a master page, but as I mentioned, the same application works correctly in the development environment. The most obvious difference between the two environments is the version of IIS, though there is nothing concrete to suggest that this is the cause.

    Any ideas, please?
  2. Paul Taylor
    Paul Taylor avatar
    41 posts
    Member since:
    Jun 2010

    Posted 14 Dec 2011 Link to this post

    I have installed the application on a separate IIS6 and IIS7 servers. It works on the IIS7 server, but not on the IIS6 one. I conclude that a bug in the grid is preventing this from working on IIS6. Please can you give me a solution for this. I will raise this through my client's support contract.


    Paul Taylor
  3. Martin
    Martin avatar
    823 posts

    Posted 20 Dec 2011 Link to this post

    Hello Paul Taylor,

    I have already addressed the support ticket you have opened on the same topic. To make my post available for our community, I am pasting it here as well:

    "I was able to run your project and no issues arose on my side. Here is a short video showing the behavior I observed. Please review it and let me know whether I can help further."

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top