BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Jimmy,
Thanks for the contacting Syncfusion support.
Could you please provide us with more information on the control which was used in your sample and also please specify the Jquery version details. It will help us to work in efficient way and provide a proper sample.
Warm Regards,
Gurunathan
This code gives an error in the alert function wich uses dialog.
When the dropdowncalendarcontrol is removed, it works fine.
Somehow the calendardropdown breaks jquery.
<%
@ Page Language="C#" AutoEventWireup="true" CodeBehind="dialog.aspx.cs" Inherits="Register.dialog" %><%
@ Register Assembly="Syncfusion.Shared.Web, Version=11.2045.0.25, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.Web.UI.WebControls.Shared" TagPrefix="syncfusion" %><!
DOCTYPE html><
html xmlns="http://www.w3.org/1999/xhtml"><
head> <title></title> <link rel="stylesheet" rel='nofollow' href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <script> function myAlert(mytitle, message) {$(
"<div>"+message+"<div>").dialog({title: mytitle,
resizable:
false,height: 250,
width: 500,
modal:
true,buttons: {
"ok": function () {$(
this).dialog("close");$(
this).dialog("destroy");}
}
});
}
</script></
head><
body><
form id="form1" runat="server"> <syncfusion:SFScriptManager ID="SFScriptManager1" runat="server"></syncfusion:SFScriptManager> <input id="Button1" type="button" value="button" onclick="myAlert('alert','It works')"/> <syncfusion:DropDownCalendarControl ID="DropDownCalendarControl1" runat="server" /></
form></
body></
html>Hi Hans,
Thanks for contacting Syncfusion support.
We would like to let you know that we have tested our controls with JQuery version 1.4 & JQuery UI 1.8.2 and all our controls work fine until these versions. We have logged a feature request report for “Upgrading our controls with latest jquery versions”. It can be tracked through our Features Management System:
[FR link]
We will implement this feature in any of our upcoming releases. As for now,we suggest you to use the Jquery- migrate script to overcome the version mismatch issues. Please refer the below code snippet.
<code>
[Site.master]
<asp:ScriptReference path="Scripts/jquery-1.9.1.js"/>
<asp:ScriptReference path="Scripts/jquery-migrate-1.2.1.js"/>
<asp:ScriptReference path="Scripts/jquery-ui.js"/>
</code>
We would also like to let you know that we are internally loading jquery ui script in our source and if you are referring this script explicitly, it will result in conflicts. So we suggest you to set sfJqueryload as false in web.config page. Please refer the below code snippet.
[Web.Config]
<appSettings>
<add key='sfJqueryload' value='false'/>
</appSettings>
</code>
We have also prepared a simple sample to show case this behavior. It can be downloaded from the below link
Please let us know if you required further assistance.
Thanks,
Gurunathan