Hello everybody,
I'm working on a translation interface for a multilingual intranet. This leads me to use Rich TextBoxes such as FreeTextBox.
It is well known that there are issues about it when used with ajax.net, but I tried...
My issue:
I've got a page with three imbricated updatePanels. UpdatePanel1 contains both of the other update panels.
When updating these controls, I want a freeTextBox to get a text to translate.
But, not only does the FreeTextBox refuses to get the text, it also generates javascript errors that prevent me from openning an ajax modal popup.
I've tried to replace Freetextboxes by simple asp textboxes and this works fine... excepted as regards the fact that i can see all the html, and cannot put my text in form...
Coulds give me a hint to solve this? Do you know another rich text box with which i would have this issue?
Thanx a lot.
DART did the same thing, TinyMCE too... The only richTextBox I have tested which works is CuteEditor.
From what I've read, the issue comes from the focus on the textbox.
So no soultion for the moment.
Hi, I think I had the opposite problem to you. I could get the text by using .Text property but I couldn't set the text byassigning a new value to .Text.
I had to use the following code as a workaround : -
Private Sub SetEnoteText(ByVal strNotesAs String)Dim strScriptAs String =String.Format( _"$get('ctl00_maincontentarea_HeaderTabs_eNoteTab_eNoteText').value = '{0}';", _ strNotes.Replace(vbLf, "").Replace(vbCr, "")) strScript += "ctl00_maincontentarea_HeaderTabs_eNoteTab_eNoteText_Initialize(ctl00_maincontentarea_HeaderTabs_eNoteTab_eNoteText_editor, $get('ctl00_maincontentarea_HeaderTabs_eNoteTab_eNoteText'));" ScriptManager1.RegisterStartupScript(Me,Me.GetType(),"SETNOTE", strScript,True)End Sub
'ctl00_maincontentarea_HeaderTabs_eNoteTab_eNoteText' Being the ID of the FreeTextBox.
No comments:
Post a Comment