I added a GroupSettings-Repeatcolumns="3" to a menu item, and I get an error in a ScriptResource in one of the telerik functions
j(A).chidlren(".rmGroup").append(j(B).children(".rmGroup").children(".rmItem").eq(0));
You can see in bold the typo line! Is there a way I can edit this as a workaround?
Regards,
AG
j(A).chidlren(".rmGroup").append(j(B).children(".rmGroup").children(".rmItem").eq(0));
You can see in bold the typo line! Is there a way I can edit this as a workaround?
Regards,
AG
5 Answers, 1 is accepted
0
Hi Andrew,
Thank you for pointing that out. We are already aware of this issue and it is already fixed. It will be, however, available for download with the next internal build (that is next week). As a temporary workaround you can use the following script as well:
Regards,
Kate
the Telerik team
Thank you for pointing that out. We are already aware of this issue and it is already fixed. It will be, however, available for download with the next internal build (that is next week). As a temporary workaround you can use the following script as well:
Telerik.Web.UI.RadMenuItem.prototype._recalculateColumns =
function
()
{
var
$ = $telerik.$;
if
(
this
.get_groupSettings().get_repeatDirection() == Telerik.Web.UI.MenuRepeatDirection.Horizontal)
return
;
var
childListElement =
this
.get_childListElement();
var
columnElements = $(childListElement).children(
".rmGroupColumn"
);
for
(
var
columnIndex = columnElements.length - 1; columnIndex > 0; columnIndex--) {
var
column = columnElements[columnIndex];
var
prevColumn = columnElements[columnIndex - 1];
if
(
this
._getColumnItemCount(prevColumn) ==
this
._getColumnItemCount(column))
return
;
$(prevColumn)
.children(
".rmGroup"
)
.append($(column)
.children(
".rmGroup"
)
.children(
".rmItem"
)
.eq(0));
}
}
Regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0

Andrew
Top achievements
Rank 1
answered on 28 Mar 2012, 08:34 AM
Thanks for that, but where would I put that script?
0
Hello Andrew,
The most appropriate place for the script would be on your page right after the scriptmanager.
All the best,
Kate
the Telerik team
The most appropriate place for the script would be on your page right after the scriptmanager.
All the best,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0

Andrew
Top achievements
Rank 1
answered on 28 Mar 2012, 09:32 AM
Hmm, I've tried putting it there, but the erroring function still takes precedence, and fires...
0
Hi Andrew,
The fix is already available for you to download with the latest internal build of our controls. Please give it a try and let me know if you still encounter the issue.
Kind regards,
Kate
the Telerik team
The fix is already available for you to download with the latest internal build of our controls. Please give it a try and let me know if you still encounter the issue.
Kind regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.