I am presently upgraing our Telerik controls and am having a problem with the RadEditor (ASP.NET AJAX) not retaining the viewstate on postback.
We add the editor dynamically, so that we have an editor for each language that is enabled in our application. We add the editors in the Page_Init event. We only show on at a time. For example if we English and French enabled then there will be 2 editors on the page, but only one will show to the user. The user can change the language by choosing a value from a dropdown which then postsback to then show the other editor. This has worked fine in the past.
Now though, if the user does not change the language and just enters text into the editor, then the content of the editor showing is blank when the page is submitted. If the user changes the language (and thus does a postback) and then clicks save, the viewstate is retatined.
Any ideas for a workaround, or better yet, an actual fix?
We add the editor dynamically, so that we have an editor for each language that is enabled in our application. We add the editors in the Page_Init event. We only show on at a time. For example if we English and French enabled then there will be 2 editors on the page, but only one will show to the user. The user can change the language by choosing a value from a dropdown which then postsback to then show the other editor. This has worked fine in the past.
Now though, if the user does not change the language and just enters text into the editor, then the content of the editor showing is blank when the page is submitted. If the user changes the language (and thus does a postback) and then clicks save, the viewstate is retatined.
Any ideas for a workaround, or better yet, an actual fix?