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?
[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?