Welcome Guest Search | Active Topics | Sign In | Register

Change a label with the editor. Options
NJC
Posted: Wednesday, August 25, 2010 2:24:41 PM
Rank: Newbie
Groups: Member

Joined: 8/24/2010
Posts: 3
Hello people,

I'm testing the EO Editor and i'm trying to find out how to simply change the text of a label (on same page as the editor) using VB code.

So when I hit a button, the text I typed in the editor will move to the label.

I though it was like this:

Protected Sub btn_Ok_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn_Ok.Click

lbl_Tekst.Text = Editor1.*text, content, container*

End Sub

I just dont know what tag I need between the **

Thanks,

Nigel
eo_support
Posted: Wednesday, August 25, 2010 2:30:53 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

It should be Editor1.Html.

In the future if you have similar problem, you can take a look of the reference section. The reference section contains everything that is available to you. For example, here is a list of all available property on the Editor control (The TreeView on the left side contains properties that's specifically for the editor control, while the list on the right side contains all properties, including inherited properties):

http://doc.essentialobjects.com/library/1/eo.web.editorproperties.aspx

The same content in .chm format is also installed on your own machine when you install our product. You can open it by going selecting All Programs -> EO.Web Controls xxx -> Documentation from your Windows start menu.

Thanks!
NJC
Posted: Wednesday, August 25, 2010 2:39:43 PM
Rank: Newbie
Groups: Member

Joined: 8/24/2010
Posts: 3
Yes, Editor1.Html worked

Ah good, I didn't know about the list, but it will be very helpfull for now!

Thx,

Nigel

Btw.. nice fast replies


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.