Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

Error when trying to edit certain page templates

« Go Back

Information

 
Article Number000099982
EnvironmentProduct: Sitefinity
Version: 9.x, 10.x, 11.x
OS: All supported OS versions
Database: All supported Microsoft SQL Server versions
Question/Problem Description
Error when trying to edit certain page templates.
Steps to Reproduce
Clarifying Information
Error MessageUncaught TypeError: Cannot set property 'control' of undefined
at Telerik.Web.UI.RadDockZone.Sys.UI.Control (ScriptResource.axd?d=FitA-pjUSx2FpDlPm_dQgkqVAbZHo-drIy7Mym1zXaBTTMilzDpk1XFWE-NtzpSL5HI0O7_BTPABG-CDjsu0LzcUGFYBWdQS5YE_PgFuF0JCwUPg1dwdAerxlK3Si2NY1V2hdu1BqIwReyUZInzyU368anR7xG_iyplLkKwQJPpDt-1MHc81nVuHdPBrOtbtkGHgBNQf-Lk31hWwlsdlQz0ihn7LmVkCIVvpFEGG6bc1&t=ffffffffe8282038:2713)
at Function.Type.initializeBase (ScriptResource.axd?d=FitA-pjUSx2FpDlPm_dQgkqVAbZHo-drIy7Mym1zXaBTTMilzDpk1XFWE-NtzpSL5HI0O7_BTPABG-CDjsu0LzcUGFYBWdQS5YE_PgFuF0JCwUPg1dwdAerxlK3Si2NY1V2hdu1BqIwReyUZInzyU368anR7xG_iyplLkKwQJPpDt-1MHc81nVuHdPBrOtbtkGHgBNQf-Lk31hWwlsdlQz0ihn7LmVkCIVvpFEGG6bc1&t=ffffffffe8282038:771)
at Telerik.Web.UI.RadDockZone.Telerik.Web.UI.RadWebControl (ScriptResource.axd?d=TDVjdgRbdvNAY3tnbizUcAuLDG-02wRhTvuz8XXmEFtOA5eXJoNtIAxtHknZcEdx4gUIBRrSy6pT0hhDqKlnyKOf6lkNN0zIvJ8vPA-onOxjfm-yf6WXUP6UXqbpGz8PvwhbphfmXuJrTvoYezo6fEtCe1WwMwkx8qetEbHX1qU1&t=789d1b69:1043)
at Function.Type.initializeBase (ScriptResource.axd?d=FitA-pjUSx2FpDlPm_dQgkqVAbZHo-drIy7Mym1zXaBTTMilzDpk1XFWE-NtzpSL5HI0O7_BTPABG-CDjsu0LzcUGFYBWdQS5YE_PgFuF0JCwUPg1dwdAerxlK3Si2NY1V2hdu1BqIwReyUZInzyU368anR7xG_iyplLkKwQJPpDt-1MHc81nVuHdPBrOtbtkGHgBNQf-Lk31hWwlsdlQz0ihn7LmVkCIVvpFEGG6bc1&t=ffffffffe8282038:771)
at new Telerik.Web.UI.RadDockZone (ScriptResource.axd?d=rpNQecyHdGkzPUHjFFtZnbgPm1S5AmJKaqGg9htWn6JiKeOnvyB3vkZEJluLIvpnyaCNb7-w0HMXG9xADR-1gkrerp_x57iwg2BsnV5U0BgfBkRlIpBAsaqOXUDq5STzeE3HwuvHIrm95QCbo4FWpMy2iKoReOZ21OSbiECRQJPgczoMGeZI-ZiLArRElijr0&t=789d1b69:10)
at Sys.Component.create (ScriptResource.axd?d=FitA-pjUSx2FpDlPm_dQgkqVAbZHo-drIy7Mym1zXaBTTMilzDpk1XFWE-NtzpSL5HI0O7_BTPABG-CDjsu0LzcUGFYBWdQS5YE_PgFuF0JCwUPg1dwdAerxlK3Si2NY1V2hdu1BqIwReyUZInzyU368anR7xG_iyplLkKwQJPpDt-1MHc81nVuHdPBrOtbtkGHgBNQf-Lk31hWwlsdlQz0ihn7LmVkCIVvpFEGG6bc1&t=ffffffffe8282038:2148)
at Array.<anonymous> (Edit:8109)
at ScriptResource.axd?d=FitA-pjUSx2FpDlPm_dQgkqVAbZHo-drIy7Mym1zXaBTTMilzDpk1XFWE-NtzpSL5HI0O7_BTPABG-CDjsu0LzcUGFYBWdQS5YE_PgFuF0JCwUPg1dwdAerxlK3Si2NY1V2hdu1BqIwReyUZInzyU368anR7xG_iyplLkKwQJPpDt-1MHc81nVuHdPBrOtbtkGHgBNQf-Lk31hWwlsdlQz0ihn7LmVkCIVvpFEGG6bc1&t=ffffffffe8282038:2044
at Function.Sys.Observer.raiseEvent (ScriptResource.axd?d=FitA-pjUSx2FpDlPm_dQgkqVAbZHo-drIy7Mym1zXaBTTMilzDpk1XFWE-NtzpSL5HI0O7_BTPABG-CDjsu0LzcUGFYBWdQS5YE_PgFuF0JCwUPg1dwdAerxlK3Si2NY1V2hdu1BqIwReyUZInzyU368anR7xG_iyplLkKwQJPpDt-1MHc81nVuHdPBrOtbtkGHgBNQf-Lk31hWwlsdlQz0ihn7LmVkCIVvpFEGG6bc1&t=ffffffffe8282038:1153)
at Sys._Application.Sys.Application._raiseInit (ScriptResource.axd?d=FgIOGdfqFskQuyK9Pq2GzuuwNgSlxtR_s97eeLtBjqxnTPc2nHB8clKE3z9c88uTc1AB-UNJZxgSSrGQqLhbznn3S8mfTgV2FR6RukqgGMFk17jJoKfxQPYSOEl-GDAboXMyByzoWwIdSSCdf8GrBORyC1-JknSvAO4q8eCwz9-ZQFAC01XCWjJ9-ayHNJO68JLbu4tmTajJH-0sjdg0nofFar6wjzlSRReTL9WleIg1&t=ffffffffe8282038:1)
Defect/Enhancement Number
Cause
Resolution
1. Duplicate the page template which is having the issue.
2. Note down the duplicate page template
3. Include the web form attached to the case at the root level of the site and build the application.
4. Open the webform by accessing the absolute path(Ex: mydomain/ModifyPageTemplate.aspx)
5. Provide the title of the page template and click on "Delete Widget"
6. Open the duplicate page template and verify if that opens the page template in edit mode.
7. If step 6 fails, repeat steps 4 - 6 and note down how many times the code had to run for the page template to open fine in edit mode.
8. Modify the code in ModifyPageTemplate.aspx.cs file and set the value to the corresponding value of the widget being deleted.
Ex: If the 4th attempt succeeded in opening the template, place number "3" in place of 0 when running the code against the original template. This will remove the widget with the issue in the original page template
Workaround
Notes
Last Modified Date12/5/2019 8:27 PM