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
60
WebHtmlEditor Loses value on postback with Chrome browser
posted

I am not able to get value after postback on Chrome (working on IE and Firefox). It always gives a blank value.

I found a solution from one of the link but it is not working for me.

I tried following steps to make it work for chrome:

I created keypress event using below code.

<ClientSideEvents KeyPress="Editor1_KeyPress"></ClientSideEvents>

Next created below function 

function Editor1_KeyPress(oEditor, keyCode, oEvent) {

    //Call update on each keypress to keep hidden field in sync with display.

    oEditor._update();
}

When I type something in editor my control successfully enter the method and executes  "oEditor._update();" without any error.

Now, when I click on a button on page to make postback, Editor loses value.

Any help would be appreciated.

Parents Reply Children
No Data