Page 1 of 1

Dynatree: problem with text field with apostrophe

PostPosted: 05 May 2015 21:27
by Corwin
Hi

in my application, I am using a dynatree object; I take all the nodes from a string field from Oracle database. If the field value I find the character apostrophe (example, "Based on DC Comics' Hellblazer") and other special character in italic language, the object crashes. I guess I should use an encode or there is some property in Dynatree?

Regards

Re: Dynatree: problem with text field with apostrophe

PostPosted: 06 May 2015 14:22
by Alexander Bulei
Hi Corwin,

If the field value I find the character apostrophe (example, "Based on DC Comics' Hellblazer") and other special character in italic language, the object crashes.


Where are you setting that value?

In item.Title property?

Best Regards.

Re: Dynatree: problem with text field with apostrophe

PostPosted: 06 May 2015 14:25
by Corwin
H Alexander

yes

Re: Dynatree: problem with text field with apostrophe

PostPosted: 06 May 2015 15:21
by Alexander Bulei
Hi Corwin,

I can't reproduce this issue...

Can you create the simple testcase?
T.I.A

Best Regards.

Re: Dynatree: problem with text field with apostrophe

PostPosted: 06 May 2015 15:26
by Corwin
yes, of course... I'll make a small demo (but not with Database Oracle :lol: )

Re: Dynatree: problem with text field with apostrophe

PostPosted: 06 May 2015 15:48
by Alexander Bulei
Sure, thanks.

Re: Dynatree: problem with text field with apostrophe

PostPosted: 07 May 2015 11:27
by Corwin
Hi Alexander

i am solved... It was my incorrect assignment to the value of the tooltip

Regards

Re: Dynatree: problem with text field with apostrophe

PostPosted: 07 May 2015 14:34
by Alexander Bulei
Hi Corwin,

Good, you solved by yourself ;)

Best Regards.