This is a migrated thread and some comments may be shown as answers.

[Solved] Replicate editors content

1 Answer 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
lbartroli
Top achievements
Rank 1
lbartroli asked on 25 Jul 2011, 01:35 PM
Hello, I have a question, I have an application where I have two 
telerik editor and in the middle of these two I have a button to
replicate the content. That is to copy the text of the first editor 
in the second editor. The problem is how to do this, what is the 
code that I put in the button to do what I want? Below is the code ...
<div id="texto">     <div id="e-learning" class="editor" >     <h1>E-Learning</h1>     @code         Html.BeginForm()         Html.Telerik().Editor().     Name("editorE-Learning").     HtmlAttributes(New With {.style = "border-radius: 4px; height: 300px; overflow: hidden"}).Encode(False).     Tools(Function(tools) tools.Clear().               Bold.Italic.Underline.Strikethrough.FontColor.Separator.               InsertOrderedList.InsertUnorderedList.Separator.               JustifyCenter.JustifyFull.JustifyLeft.JustifyRight.Separator.               CreateLink.Unlink.FormatBlock()).    Value("").    Render()                  Html.EndForm()     End code     </div>     <div id="btnReplicar" align="center" style="margin-bottom30px;">     <button class="t-button t-state-default" type="submit" value="Replicate">Replicate</button>     </div>     <div id="support" class="editor" >     <h1>Support</h1>     @code         Html.BeginForm()         Html.Telerik().Editor().     Name("editorSupport").     HtmlAttributes(New With {.style = "border-radius: 4px; height: 300px; overflow: hidden"}).Encode(False).     Tools(Function(tools) tools.Clear().               Bold.Italic.Underline.Strikethrough.FontColor.Separator.               InsertOrderedList.InsertUnorderedList.Separator.               JustifyCenter.JustifyFull.JustifyLeft.JustifyRight.Separator.               CreateLink.Unlink.FormatBlock()).    Value("").    Render()                  Html.EndForm()     End code     </div>

1 Answer, 1 is accepted

Sort by
0
lbartroli
Top achievements
Rank 1
answered on 25 Jul 2011, 01:38 PM
I forgot, I'm programming in visual basic, but would appreciate even an example in C # ...
Tags
General Discussions
Asked by
lbartroli
Top achievements
Rank 1
Answers by
lbartroli
Top achievements
Rank 1
Share this question
or