Adding to the Text

Aug 13, 2010 at 4:49 PM
I am trying to add texts to the text being written on the RTE with controls on the same page. In my case I want to add fields from a table on the database to be part of the text the user is composing. The problem is that every time I click on the button to add the new text to the existing text (already on the RTE) the text that was there disappears. My guess is that when the page is refresh the RTE refreshes completely and loses it content. That is not the behavior on a regular TextBox. Anyway, here is what I am doing on the code behind: Protected Sub btnAddData_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAddData.Click RTE1.Text += " [" & ddlstTable.SelectedValue & "." & ddlstColumn.SelectedValue & "] " End Sub Thanks,