Bad Resources
Providing a bad resource name\assembly in the ResourceLink control throws an error
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
[ArgumentNullException: Value cannot be null. Parameter name: type] System.Web.UI.ClientScriptManager.GetWebResourceUrl(Page owner, Type type, String resourceName, Boolean htmlEncoded, IScriptManager scriptManager) +3544150 System.Web.UI.ClientScriptManager.GetWebResourceUrl(Type type, String resourceName) +59 Telerik.Sitefinity.Web.UI.ResourceLinks.RegisterResource(ResourceFile resource) +596 Telerik.Sitefinity.Web.UI.ResourceLinks.CreateChildControls() +621 System.Web.UI.Control.EnsureChildControls() +182 System.Web.UI.Control.PreRenderRecursiveInternal() +60 System.Web.UI.Control.PreRenderRecursiveInternal() +222 System.Web.UI.Control.AddedControl(Control control, Int32 index) +11253905 Telerik.Sitefinity.Modules.Pages.DraftProxyBase.editor_LayoutControlAdd(Object sender, ZoneEditorLayoutEventArgs e) +260 Telerik.Sitefinity.Web.UI.ZoneEditor.OnLayoutControlAdd(Control dockContentContainer, ControlData controlData) +221 Telerik.Sitefinity.Web.UI.ZoneEditor.AddPlaceholderToPage(ControlData controlData) +600 Telerik.Sitefinity.Web.UI.ZoneEditor.CreatePlaceholders() +83 Telerik.Sitefinity.Web.UI.ZoneEditor.CreateChildControls() +66 System.Web.UI.Control.EnsureChildControls() +182 System.Web.UI.Control.PreRenderRecursiveInternal() +60 System.Web.UI.Control.PreRenderRecursiveInternal() +222 System.Web.UI.Control.PreRenderRecursiveInternal() +222 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4185 |
Hi Steve,
Thank you for reporting this . Those controls need better error handling, they should instead display a message that the resource cannot be found. Thank you for reporting this, I have logged (#104777) a work item for fixing their error handling.
Regards,
Radoslav Georgiev
the Telerik team