This question is locked. New answers and comments are not allowed.
We are trying to use the following JQuery code for a modal pop up:
However on MVC views that have the Telerik declarations on them (see below), this code will not work.
Any ideas?
jQuery(document).ready(
function() {
jQuery(
"#open").click(showDialog);
//variable to reference window
$myWindow = jQuery(
'#modal');
//instantiate the dialog
$myWindow.dialog({
height: 400,
width: 400,
modal:
true,
position:
'center',
autoOpen:
false,
title:
'Will I Work?',
overlay: { opacity: 0.5, background:
'black' }
});
However on MVC views that have the Telerik declarations on them (see below), this code will not work.
<% Html.Telerik().StyleSheetRegistrar()
.DefaultGroup(group => group.Add(
"telerik.common.css")
.Add(
"telerik.default.min.css"))
.Render();
%>
Any ideas?