Maintaining Fck editor value during postbacks

  • 0

Maintaining Fck editor value during postbacks

Here is the code to maintain value of FckEditor value during postbacks,

 

Write in Page_Load event,

 

Page.ClientScript.RegisterOnSubmitStatement(

fckContentPage.GetType(),

“fckContentPage”,

“FCKeditorAPI.GetInstance(‘” + fckContentPage.ClientID + “‘).UpdateLinkedField();”);

 

Here fckContentPage is ID of FckEditor


Bookmark and Share


Leave a Reply