How do I stop HtmlEditorExtender encoding html in postback?

后端 未结 4 895
無奈伤痛
無奈伤痛 2021-01-21 05:16

I have a user control that contains a text box, an HtmlEditorExtender, and a button. The user control is loaded into a parent page using LoadControl().

4条回答
  •  無奈伤痛
    2021-01-21 05:58

    Anyway I actually had a chance to test this and your problem was recreated. It looks as though putting your main page code that is in the "Load" event into the "Init" event it works just fine.

提交回复
热议问题