How to make TinyMCE work inside an UpdatePanel?

前端 未结 12 931
别跟我提以往
别跟我提以往 2021-02-07 13:28

I\'m trying to do something that many people seem to have been able to do but which I am unable to implement any solution. The TinyMCE control works pretty well in an asp.net fo

12条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-07 14:01

    I did the following:

    First I added the this Javascript to my page:

    
    

    Because I'm creating an ASP.NET and using and ASP.NET Button in my page, I had to add the following to the Page Load:

    protected void Page_Load(object sender, EventArgs e)
    {
        Button1.Attributes.Add("onclick", "UpdateTextArea()");
    }
    

提交回复
热议问题