Completed
Last Updated: 12 Nov 2018 12:38 by ADMIN
ADMIN
Peter Milchev
Created on: 10 Sep 2018 14:58
Category: Gantt
Type: Bug Report
0
FIX: When OnTaskUpdate event is set, putting apostrophe in a task title causes an error
Workaround - placing the following script after the ScriptManager: 
<script type="text/javascript">
    Telerik.Web.UI.RadGantt.prototype.postback = function (args) {
        var postbackFunction = this.get_postBackReference().replace("arguments",
                Sys.Serialization.JavaScriptSerializer.serialize(args).replace(/\\/g, "\\\\").replace(/'/g, "\\'"));

        eval(postbackFunction);
    }
</script>
0 comments