Using RadControls 2012.3.1308.40.
We have a grid, entirely created and initialized programmatically. It's huge and unfortunately a bit too big to isolate and post here.
Now I'm observing the following issues.
We enable column resizing as follows:
This works fine after initial page load, but after having resized any column, it stops working. The column that has just been resized still has a resize handle (titled 'Drag to resize'), but when using this it actually picks up the column to start a reorder action. And the resize handle seems to have disappeared entirely from all the other columns. Only a page load restores the resize functionality (but again only a single time).
We found out that this line had unexpected impact:
When disabling reorder animations, resizing stayed working. But unfortunately, this had another side-effect: the right-click context menu on the header row stopped working entirely, and a javascript error pops up in the console instead:
I don't see the relation between these issues; how does the columnreorder animation affect resizing or the header contextmenu?
Our RadScriptManager in the masterpage looks like this:
How could "$telerik.$" ever not be defined? Any suggestions where to look for a solution?
We have a grid, entirely created and initialized programmatically. It's huge and unfortunately a bit too big to isolate and post here.
Now I'm observing the following issues.
We enable column resizing as follows:
trgEntities.ClientSettings.Resizing.AllowColumnResize =
true
;
trgEntities.ClientSettings.Resizing.EnableRealTimeResize =
true
;
trgEntities.ClientSettings.Resizing.AllowResizeToFit =
true
;
This works fine after initial page load, but after having resized any column, it stops working. The column that has just been resized still has a resize handle (titled 'Drag to resize'), but when using this it actually picks up the column to start a reorder action. And the resize handle seems to have disappeared entirely from all the other columns. Only a page load restores the resize functionality (but again only a single time).
We found out that this line had unexpected impact:
trgEntities.ClientSettings.Animation.AllowColumnReorderAnimation =
true
;
When disabling reorder animations, resizing stayed working. But unfortunately, this had another side-effect: the right-click context menu on the header row stopped working entirely, and a javascript error pops up in the console instead:
Uncaught TypeError: Object #<
Object
> has no method '$' RadContextMenuScripts.js:196
b.RadContextMenu._detach RadContextMenuScripts.js:196
b.RadContextMenu._showAt RadContextMenuScripts.js:314
b.RadContextMenu.show RadContextMenuScripts.js:363
b.RadContextMenu._elementContextMenu RadContextMenuScripts.js:307
(anonymous function) Telerik.Web.UI.WebResource.axd:3
a
I don't see the relation between these issues; how does the columnreorder animation affect resizing or the header contextmenu?
Our RadScriptManager in the masterpage looks like this:
<telerik:RadScriptManager ID=
"ScriptManager"
runat=
"server"
EnableHandlerDetection=
"true"
>
<Scripts>
<asp:ScriptReference Assembly=
"Telerik.Web.UI"
Name=
"Telerik.Web.UI.Common.Core.js"
/>
<asp:ScriptReference Assembly=
"Telerik.Web.UI"
Name=
"Telerik.Web.UI.Common.jQuery.js"
/>
<asp:ScriptReference Assembly=
"Telerik.Web.UI"
Name=
"Telerik.Web.UI.Common.jQueryInclude.js"
/>
<asp:ScriptReference Path=
"~/Scripts/jquery-1.7.1.min.js"
/>
<asp:ScriptReference Path=
"~/Scripts/jquery-ui-1.8.17/js/jquery-ui-1.8.17.custom.min.js"
/>
</Scripts>
</telerik:RadScriptManager>
How could "$telerik.$" ever not be defined? Any suggestions where to look for a solution?