Hello. I'm using CKEditor.NET 3.5.2 for text editor. And version 2 of
fckeditor has config file and we can design our text editor. But it does not
have and we can change the design from codebehind. As you know I don't want
to write some codes of my all cs files. And I want to make it easy. But I
need some help in here. I want to write a class and it defines and create
dynamic ckeditor.
This code is for desing.

    CKEditorControl1.config.toolbar = new object[]
        {
            new object[] { "Source", "-", },
            new object[] { "Bold", "Italic", "Underline", "Strike", "-",},
            new object[] { "NumberedList", "BulletedList", "-", "Outdent",
"Indent", "Blockquote"},
            new object[] { "JustifyLeft", "JustifyCenter", "JustifyRight",
"JustifyBlock" },
            new object[] { "Link", "Unlink", "Anchor" },
            new object[] { "TextColor", "BGColor" },
            new object[] { "Image", "Flash", "Iframe" }
        };

For example can I do this like that?

    public static object createCKEditor()
    {
        CKEditor.NET.CKEditorControl CKEditorControl1 = new
CKEditor.NET.CKEditorControl();
        CKEditorControl1.config.toolbar = new object[]
        {
            new object[] { "Source", "-", },
            new object[] { "Bold", "Italic", "Underline", "Strike", "-",},
            new object[] { "NumberedList", "BulletedList", "-", "Outdent",
"Indent", "Blockquote"},
            new object[] { "JustifyLeft", "JustifyCenter", "JustifyRight",
"JustifyBlock" },
            new object[] { "Link", "Unlink", "Anchor" },
            new object[] { "TextColor", "BGColor" },
            new object[] { "Image", "Flash", "Iframe" }
        };
        return CKEditorControl1;
    }



kadir avci (mcpd)
software/web developer
web: kad1r weblogs <http://www.kad1r.com> | freelance web
developer<http://www.kadiravci.com>| kad1r's
twitter <http://www.twitter.com/kad1r>
loc: izmir (turkey)
sta: freelance

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to