Page Templates: Editing Content block results in error
At 4.1 SP1 release notes says: "Page Templates: Editing Content block results in error"
I upgraded to 4.1 SP1, but now I have this problem. I can´t inline edit Content Block that it throws this exception:
Server Error in '/' Application.
Value cannot be null.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Parameter name: ControlId must be defined through the query string of the current request.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: ControlId must be defined through the query string of the current request.
Source 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.
Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: ControlId must be defined through the query string of the current request.]
Telerik.Sitefinity.Web.UI.PropertyEditor.InitiliazeRequestProperties() +771
Telerik.Sitefinity.Web.UI.PropertyEditor.InitializeControls(GenericContainer dialogContainer) +18
Telerik.Sitefinity.Web.UI.SimpleView.CreateChildControls() +58
Telerik.Sitefinity.Web.UI.DialogBase.CreateChildControls() +13
System.Web.UI.Control.EnsureChildControls() +102
System.Web.UI.Control.PreRenderRecursiveInternal() +42
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
How can I fix it?
Hello Fujiy,
I would need your db, contents of the ~/App_Data folder and web.config.
I would need to run a few queries to verify that the upgrade scripts have ran successfully. If they haven't, I will provider you with SQL query to properly update your database.
Did you get this resolved? I am having the same issue after upgrading. No inline editing is available.
The problem was a conflict because I was using a version of jQuery and Sitefinity another
Thanks. That was it. Good find.
Can someone tell me what version of jQuery is compatible with Sitefinity?
Hello,
Sitefinity loads a version of jQuery compatable for each release, we try to keep the version of jQuery up to date. The version of jQuery Sitefinity 4.4 is using is 1.7.1.
You can use different version of jQuery if needed. For the purpose I reccomend using JavascriptEmbedControl on the master page template for the site to load the different jQuery.
<
sf:JavaScriptEmbedControl
runat
=
"server"
ID
=
"jQueryLink"
ScriptEmbedPosition
=
"Head"
</
sf:JavaScriptEmbedControl
>
<
sf:JavaScriptEmbedControl
runat
=
"server"
ID
=
"jQueryUILink"
ScriptEmbedPosition
=
"Head"
</
sf:JavaScriptEmbedControl
>
<
sf:JavaScriptEmbedControl
runat
=
"server"
ID
=
"JavaScriptEmbedControl6"
Url
=
"~/RTC_Scripts/series.js"
ScriptEmbedPosition
=
"Head"
>
</
sf:JavaScriptEmbedControl
>
<
sf:JavaScriptEmbedControl
runat
=
"server"
ID
=
"JavaScriptEmbedControl5"
Url
=
"~/RTC_Scripts/jquery.anythingslider.js"
ScriptEmbedPosition
=
"Head"
>
</
sf:JavaScriptEmbedControl
>
Thanks you Stanislav