I have a RadGrid ASP.NET AJAX control. About a half dozen columns are set with Filters (AutoPostBackOnFilter=True) so you can filter as well you can sort on all columns by clicking any column in the first row. I also have a RadSlidingPane that shows another half dozen filtering choices that apply to the entire grid, allowing you to optionally filter by geography, client, that sort of thing. All of this has worked for many years on my Visual Studio dev machine as well as our production web server (Win2003 with IIS 6). The production web server is an old machine so I spun up a new web server to move the code to. I copied the directory without any changes, to the new web server, configured it in IIS 10.0 correctly (I think) but it doesn't quite work the same. Certain features fail:
The RadGrid loads all data, however when I try to filter any column, or sort any column, or apply any filters in the RadSlidingPane, the page flashes and no sorting or filtering gets applied. You also don't see a column highlighted if you had chose to sort it. It also doesn't remember any choices I had made in any of the RadComboBox's available in the RadSlidingPane. Basically, it's reloading the entire page instead of just the RadGrid.
Here is some database layer clues: Normally when someone sorts or filters, the RadGrid is only supposed to refresh one DataSource, what is bound to the RadGrid, the DataSourceID="empMainGrid" - not all 9 DataSource's that are defined on the page. I'm tracing what is happening at the SQL Server Database Layer and I can see all 9 stored procedures being called each time, which is a clear sign something is wrong and the whole page is reloading. On my dev machine and old production web server, only 1 database call happens which is what is supposed to occur.
Why. This is the exact same directory of files that works perfectly on the old webserver and my dev machine. Moving it to a new machine fails?
I also tried this upgrade about 4 years ago and gave up. Back then, it was another new web server (Windows 2012 with IIS 6.2) but same issue. I'm trying again now on this latest new web machine (Windows 2019 with IIS 10), it's still failing. My code was built targeting Telerik ASP.NET AJAX v.2016.3.1222.40. Further back, a Telerik v2011 version also worked fine.
Since it's failing, I just tried upgrading to the most current version of Telerik on my Dev VM: ASP.NET AJAX v2020.3.1021. In my Dev VM, it works on Telerik v2016 as well as the upgraded Telerik v2020. So I tried deploying this new directory to new web server, it still fails. Thus, upgrading to the latest Telerik is probably not the solution. It seems like something is configured wrong on the IIS web server. But what? Or is it something else obvious that I've missed?
My app is targeting ASP.NET v4.0.30319.
Thank you for reading all this and please help if you can. I'm out of ideas and feel stuck on this old hardware without a way to upgrade to a new web server.
The RadGrid loads all data, however when I try to filter any column, or sort any column, or apply any filters in the RadSlidingPane, the page flashes and no sorting or filtering gets applied. You also don't see a column highlighted if you had chose to sort it. It also doesn't remember any choices I had made in any of the RadComboBox's available in the RadSlidingPane. Basically, it's reloading the entire page instead of just the RadGrid.
Here is some database layer clues: Normally when someone sorts or filters, the RadGrid is only supposed to refresh one DataSource, what is bound to the RadGrid, the DataSourceID="empMainGrid" - not all 9 DataSource's that are defined on the page. I'm tracing what is happening at the SQL Server Database Layer and I can see all 9 stored procedures being called each time, which is a clear sign something is wrong and the whole page is reloading. On my dev machine and old production web server, only 1 database call happens which is what is supposed to occur.
Why. This is the exact same directory of files that works perfectly on the old webserver and my dev machine. Moving it to a new machine fails?
I also tried this upgrade about 4 years ago and gave up. Back then, it was another new web server (Windows 2012 with IIS 6.2) but same issue. I'm trying again now on this latest new web machine (Windows 2019 with IIS 10), it's still failing. My code was built targeting Telerik ASP.NET AJAX v.2016.3.1222.40. Further back, a Telerik v2011 version also worked fine.
Since it's failing, I just tried upgrading to the most current version of Telerik on my Dev VM: ASP.NET AJAX v2020.3.1021. In my Dev VM, it works on Telerik v2016 as well as the upgraded Telerik v2020. So I tried deploying this new directory to new web server, it still fails. Thus, upgrading to the latest Telerik is probably not the solution. It seems like something is configured wrong on the IIS web server. But what? Or is it something else obvious that I've missed?
My app is targeting ASP.NET v4.0.30319.
Thank you for reading all this and please help if you can. I'm out of ideas and feel stuck on this old hardware without a way to upgrade to a new web server.