There is an error in one of the telerik demos and no indication that it will cause an error.
Problem is with the declaration at the top of the .aspx page, more specifically with 'CodeFile'.
Here is the code we had at the top of the page. Please note this example was copied directly from the demo on 'Returning Values From a Dialog' (some parts obviously modified). Notice that we declare 'CodeFile' here:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ModifyCropApplicationRate.aspx.cs" Inherits="OnDemand.Pages.Dialogs.ModifyCropApplicationRate" %>
When in fact 'CodeFile' should be 'CodeBehind' as follows:
<%@ Page Language="C#" AutoEventWireup="true"
Again the first block of code will work in local dev environment, but when
published to a production server, the page will simply fail, with really no indication why. After adding some logging we kept receiving and error message stating that the above code behind file did not exist. Similarly there was no documentation of any sort anywhere that this would cause problem.
Took forever to figure this out and I am surprised that no one else has run into this problem as this was taken right from telerik's demo.
Hopefully this saves someone else from wasting an incredible amount of time.
Might I suggest changing the demo or perhaps providing some indication that this will cause an error.