This question is locked. New answers and comments are not allowed.
I keep getting this error when I use two "Windows" (telerik modal dialog) within the same page, which then results in a 500 error.
I'm registering scripts via the following code:
// open the initially hidden window when the button is clicked
$('#add-new-project-group-button')
.click(function(e) {
e.preventDefault();
$('#AddNewProjectGroup').data('tWindow').center().open();
});
// add button hovers
$('.t-button').live('mouseenter', $.telerik.buttonHover)
.live('mouseleave', $.telerik.buttonLeave);
$('#add-new-project-button')
.click(function(e) {
e.preventDefault();
$('#AddNewProject').data('tWindow').center().open();
});
Both the min files and the non-min files are located in the
Please help, thanks!
Error! The requested URL returned 500 - errorI'm registering scripts via the following code:
@(Html.Telerik().ScriptRegistrar().DefaultGroup(group => group.DefaultPath("~/Scripts/Telerik/")).jQuery(true).jQueryValidation(true).OnDocumentReady(@<text>// open the initially hidden window when the button is clicked
$('#add-new-project-group-button')
.click(function(e) {
e.preventDefault();
$('#AddNewProjectGroup').data('tWindow').center().open();
});
// add button hovers
$('.t-button').live('mouseenter', $.telerik.buttonHover)
.live('mouseleave', $.telerik.buttonLeave);
$('#add-new-project-button')
.click(function(e) {
e.preventDefault();
$('#AddNewProject').data('tWindow').center().open();
});
Both the min files and the non-min files are located in the
"~/Scripts/Telerik/" folder. Please help, thanks!