Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
set_text
posted

Hello,

On server side, I set node.Text with a String like ("<B>Bold Text<B>"), all is good.

on client side, I try to use set_text with same text.

It's displayed ok, but after that, my server side event "oncheckboxselectionchanged" is never called

How can I set text (with html tags) of a node on the client ???

Thx

Parents
No Data
Reply
  • 10240
    posted

    Hi dufour01,

    Can you show me how you are assigning the string to the text property? You will need to use HttpUtility.HtmlEncode() to html encode the string before assigning it to the Text property.

     

Children