Hi guys,
following problem: I have a module control with sortable form items, the simple test looks like this:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Test.ascx.cs" Inherits="DotNetNuke.Modules.Test.Test" %>
<%@ Register Src="~/controls/labelcontrol.ascx" TagName="Label" TagPrefix="dnn" %>
<%@ Register TagPrefix="dnn" TagName="JavaScriptLibraryInclude" Src="~/admin/Skins/JavaScriptLibraryInclude.ascx" %>
<dnn:javascriptlibraryinclude name="jQuery" runat="server">
<dnn:javascriptlibraryinclude name="jQuery-UI" runat="server">
<div class="dnnForm TestForm">
<fieldset id="TestFieldSet">
<div class="dnnFormItem">
<dnn:label id="Label1" runat="server" suffix=":" resourcekey="Label1" controlname="TextBox1">
<asp:textbox id="TextBox1" runat="server">
</asp:textbox></dnn:label></div>
<div class="dnnFormItem">
<dnn:label id="Label2" runat="server" suffix=":" resourcekey="Label2" controlname="TextBox2">
<asp:textbox id="TextBox2" runat="server">
</asp:textbox></dnn:label></div>
<div class="dnnFormItem">
<dnn:label id="Label3" runat="server" suffix=":" resourcekey="Label3" controlname="TextBox3">
<asp:textbox id="TextBox3" runat="server">
</asp:textbox></dnn:label></div>
</fieldset>
</div>
Works great - but when I change to Edit mode, I can move an item and as soon as I drop it the circle showing that something happens does not stop. The control is not marked as supporting partial rendering.
In the console I get the following error:
TypeError: $(...).data(...) is null ContentEditor.js:295:13
refreshContent http://dnndev.me/DesktopModules/admin/Dnn.EditBar/Resources/ContentEditorManager/Js/ContentEditor.js:295:13
dnn.ContentEditorManager.sortStop http://dnndev.me/DesktopModules/admin/Dnn.EditBar/Resources/ContentEditorManager/Js/ContentEditor.js:301:9
_trigger http://dnndev.me/Resources/libraries/jQuery-UI/01_12_01/jquery-ui.js:697:4
_trigger http://dnndev.me/Resources/libraries/jQuery-UI/01_12_01/jquery-ui.js:6718:8
$.widget/
_clear http://dnndev.me/Resources/libraries/jQuery-UI/01_12_01/jquery-ui.js:6709:4
$.widget/
_mouseStop http://dnndev.me/Resources/libraries/jQuery-UI/01_12_01/jquery-ui.js:5694:4
$.widget/
_mouseUp http://dnndev.me/Resources/libraries/jQuery-UI/01_12_01/jquery-ui.js:1905:4
$.widget/
_mouseDown/this._mouseUpDelegate http://dnndev.me/Resources/libraries/jQuery-UI/01_12_01/jquery-ui.js:1834:11
dispatch http://dnndev.me/Resources/libraries/jQuery/03_02_01/jquery.js:5205:16
add/elemData.handle http://dnndev.me/Resources/libraries/jQuery/03_02_01/jquery.js:5014:6
Any ideas?
Happy DNNing!
Michael