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

Grid crashes filtering any column

2 Answers 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul Taylor
Top achievements
Rank 1
Paul Taylor asked on 13 Dec 2011, 04:26 PM
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 Answers, 1 is accepted

Sort by
0
Paul Taylor
Top achievements
Rank 1
answered on 14 Dec 2011, 11:44 AM
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.

Regards,

Paul Taylor
0
Martin
Telerik team
answered on 20 Dec 2011, 02:15 PM
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."

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