Welcome Guest Search | Active Topics | Log In | Register

Problem about FreeTextBox Options · View
HuyNQ
#1 Posted : Saturday, October 25, 2008 5:43:36 AM
Rank: Member



Joined: 10/23/2008
Posts: 12
Hi all,
I want to use FreeTextBox editor and I display image button on toolbar, but when i post a message, i fixed in ForumEditor.cs file as
Code:

public class FreeTextBoxEditor : RichClassEditor
{...

protected override void OnInit(EventArgs e)
{
            if (_init)
            {
                Load += new EventHandler(Editor_Load);
                PropertyInfo pInfo = _typEditor.GetProperty("ID");
                pInfo.SetValue(_editor, "edit", null);
                pInfo = _typEditor.GetProperty("AutoGenerateToolbarsFromString");
                pInfo.SetValue(_editor, true, null);
                pInfo = _typEditor.GetProperty("ToolbarLayout");
                pInfo.SetValue(_editor, "FontFacesMenu,FontSizesMenu,FontForeColorsMenu;Bold,Italic,Underline|Cut,Copy,Paste,Delete,Undo,Redo|CreateLink,Unlink|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent|InsertImageFromGallery", null);
                Controls.Add(_editor);
            }
            base.OnInit(e);
        }
...

// add InsertImageFromGallery in to code

but when i reload page, it not displayed.
Please, help me. Thanks for all Sad

PS : and I have an error with interface of it. I can see it in attach file
HuyNQ attached the following image(s):
error_freetextbox.jpg
Hãy để cuộc sống tràn ngập tiếng cười ^^
Jaben
#2 Posted : Saturday, October 25, 2008 11:40:59 PM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 3,050
Location: Honolulu, HI
It's a conflict with YAF's CSS. It's fixed in v1.9.3.
"When you are grateful, fear disappears and abundance appears”."

test2005
#3 Posted : Sunday, October 26, 2008 4:21:24 PM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 927
Location: Italy

If you have the source for FTB, you can change the CSS namespaces to be more complex. No project I build has a CSS issue anymore!

Smile
.....the man in black fled across the desert..........and the gunslinger followed.....

HuyNQ
#4 Posted : Tuesday, October 28, 2008 4:30:12 AM
Rank: Member



Joined: 10/23/2008
Posts: 12
test2005 wrote:

If you have the source for FTB, you can change the CSS namespaces to be more complex. No project I build has a CSS issue anymore!

Smile

hic but i can not find it hix hix. Can you help me ?
Thanks alot Sad
Hãy để cuộc sống tràn ngập tiếng cười ^^
Users browsing this topic
Guest
Forum Jump  
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.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.078 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET