Dear Telerik:
I am using build 2009.1.311.35. I have a Web application containing a RadGrid with a UserControl edit form as follows:
I discovered that the UserControl requires the presence of the code-behind to work! The edit form works fine when I browse the page from Visual Studio. However, if I removed the UserControl's code-behind file or if I deployed the application without the code-behind file, I got the following error:
The error is also returned if the application uses a post-back instead of an Ajax call. Since we are not able to deploy the code-behind file in production, any information you can provide to help troubleshoot this issue would be appreciated.
Thanks,
-Yen
I am using build 2009.1.311.35. I have a Web application containing a RadGrid with a UserControl edit form as follows:
| <EditFormSettings CaptionDataField="ID" CaptionFormatString="Edit Form for Case {0}" EditFormType="WebUserControl" UserControlName="EditForm.ascx"></EditFormSettings> |
I discovered that the UserControl requires the presence of the code-behind to work! The edit form works fine when I browse the page from Visual Studio. However, if I removed the UserControl's code-behind file or if I deployed the application without the code-behind file, I got the following error:
| Message: Sys.WebForms.PageRequestManagerServerErrorException: The file '/webtest/EditForm.ascx.cs' does not exist. |
| URI: http://localhost:88/webtest/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.1.311.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ae7ad36d2-e9ec-4737-9fbd-fcc9c464e2bd%3a16e4e7cd%3aed16cbdc%3a58366029%3af7645509%3a24ee1bba%3a1e771326%3aaa288e2d%3ae330518b%3ac8618e41%3ae4f8f289 |
The error is also returned if the application uses a post-back instead of an Ajax call. Since we are not able to deploy the code-behind file in production, any information you can provide to help troubleshoot this issue would be appreciated.
Thanks,
-Yen