Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Errors after upgrading from 3.2.2 to 4.2.0 (Read 609 times)
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3357
Joined: Oct 19th, 2005
Re: Errors after upgrading from 3.2.2 to 4.2.0
Reply #15 - Feb 5th, 2025 at 9:18am
Print Post  
Apparently we did update Id and Tag serialization on client side to send them as { type: "...", value: "..."} KVPs which works with our dotnet core server assemblies, but changes things for the JavaScriptSerializer -based classic framework assemblies. Handling serializeTag event like this should help:

Code
Select All
@Html.DiagramView(((DiagramView)ViewBag.DiagramView).SerializeTagScript("serializeTag")...

function serializeTag(sender, args)
{
    args.jsonObject = args.tag;
    args.handled = true;
} 



Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint