or
When I load a template into rad Editor using template manager there are problems with unicode characters, as they are not imported correctly.
Form example, in my template I have the following text:
- ATENCIÓN RECORDAR CAMBIAR EL LINK
If I cut and paste this text into the editor either on the desing mode or the html mode, the text remains the same.
But if I import a template with this text using the template manager I get the following text
- ATENCI�N RECORDAR CAMBIAR EL LINK
I haven't tried other special characters such as € $ %, etc...
What should I do about that?
Thank you
| function onNodeDropping(sender, eventArgs) |
| { |
| var destinationNode = eventArgs.get_destNode(); |
| if(destinationNode) |
| { |
| var sourceNodes = eventArgs.get_sourceNodes(); |
| var firstTreeView = sourceNodes[0].get_treeView(); |
| var secondTreeView = destinationNode.get_treeView(); |
| var firstTreeViewID= sourceNodes[0].get_treeView().get_id(); |
| var secondTreeViewID = destinationNode.get_treeView().get_id(); |
| firstTreeView.trackChanges(); |
| secondTreeView.trackChanges(); |
| var type = "over"; |
| for (var i = 0; i < sourceNodes.length; i++) |
| { |
| var sourceNode = sourceNodes[i]; |
| //sourceNode.get_parent().get_nodes().remove(sourceNode); |
| if(eventArgs.get_dropPosition() == "over") |
| { |
| destinationNode.get_nodes().add(sourceNode); |
| } |
| if(eventArgs.get_dropPosition() == "above") |
| { |
| insertBefore(destinationNode, sourceNode); |
| type = "above"; |
| } |
| if(eventArgs.get_dropPosition() == "below") |
| { |
| insertAfter(destinationNode, sourceNode); |
| type = "below"; |
| } |
| } |
| destinationNode.set_expanded(true); |
| firstTreeView.commitChanges(); |
| secondTreeView.commitChanges(); |
| // Save State Serverside |
| WebInterface._webServices.MainAjaxServices.InsertNodes(eventArgs, "type", null, null); |
| } |
| } |
| [WebMethod( EnableSession = true )] |
| [ScriptMethod] |
| public void InsertNodes( RadTreeNodeDragDropEventArgs NodeEvent, string type ) |
| { |
| // Update the Tree-XMl Serverside |
| } |
