OK,I updated the AjaxToolkit in my PC to that version,it's working perfectly in IE6,IE7,IE8
and yes the editor appears in IE7,not hidden.
But the paste button (and so the copy button) disappears in Safari,Google Chrome,Opera and FireFox (those buttons appears only in IE),I forced them to appear by Javascript then I found out that the buttons are not working in mentioned browser(buggy) that's
why obout[who implemented the editor] hides them in all browsers (except IE).
Anyway,the user still can copy-paste by using ctrl-c and ctrl-v,also can use the context menu (right-click in the content of the editor then select copy/paste) so I think you can consider them as a workarounds for the time being..Note that these features
are from the browser it self,not implemented within the editor.
Best Regards,
Ala'a Alnajjar
----------------------------------------------------
My Webblog
Thanks for the information. i again tried in IE7.0 still not showing up the buttons in the editor.nad error Ajaxcontroltoolkit is undefined and this error is appearing for 4 times - 4 buttons are added in the editor this is only IE7.0
vidhyu
0 Points
44 Posts
Ajaxcontroltoolkit Editor in chrome and IE7.0
Jan 06, 2010 10:27 AM|LINK
i used Ajaxcontroltoolkit Editor with particular icons that is Bold,Italic.Underline and paste icons .
it is working fine in IE8.0,
In chrome it is missing paste icon
in IE7.0 the editor itself is not showing up
please help me out with this
alaa9jo
Star
11375 Points
2036 Posts
Re: Ajaxcontroltoolkit Editor in chrome and IE7.0
Jan 06, 2010 12:53 PM|LINK
What version are you using? I'm using 3.0.30512.24552 and it's working perfectly for me!
here is what I did:
I create a class file with name CustomEditor.cs,here is it's code:
using AjaxControlToolkit.HTMLEditor; namespace CustomControls { public class CustomEditor : Editor { protected override void FillTopToolbar() { TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Bold()); TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Italic()); TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Underline()); TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Paste()); } protected override void FillBottomToolbar() { BottomToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.DesignMode()); BottomToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.PreviewMode()); } } }And I used it in my page like this:
<asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <custom:CustomEditor ID="myEditor" Width="450px" Height="200px" runat="server" />And here is the register tag:
Ala'a Alnajjar
----------------------------------------------------
My Webblog
vidhyu
0 Points
44 Posts
Re: Ajaxcontroltoolkit Editor in chrome and IE7.0
Jan 07, 2010 04:47 AM|LINK
I Am ajaxcontroltoolkit version 3.0.309030.0 in my application
alaa9jo
Star
11375 Points
2036 Posts
Re: Ajaxcontroltoolkit Editor in chrome and IE7.0
Jan 07, 2010 06:13 AM|LINK
OK,I updated the AjaxToolkit in my PC to that version,it's working perfectly in IE6,IE7,IE8
and yes the editor appears in IE7,not hidden.
But the paste button (and so the copy button) disappears in Safari,Google Chrome,Opera and FireFox (those buttons appears only in IE),I forced them to appear by Javascript then I found out that the buttons are not working in mentioned browser(buggy) that's why obout[who implemented the editor] hides them in all browsers (except IE).
This issue is already added here:
http://ajaxcontroltoolkit.codeplex.com/WorkItem/View.aspx?WorkItemId=25062
I hope Obout fix the issue soon.
Anyway,the user still can copy-paste by using ctrl-c and ctrl-v,also can use the context menu (right-click in the content of the editor then select copy/paste) so I think you can consider them as a workarounds for the time being..Note that these features are from the browser it self,not implemented within the editor.
Ala'a Alnajjar
----------------------------------------------------
My Webblog
vidhyu
0 Points
44 Posts
Re: Ajaxcontroltoolkit Editor in chrome and IE7.0
Jan 07, 2010 08:37 AM|LINK
Thanks for the information. i again tried in IE7.0 still not showing up the buttons in the editor.nad error Ajaxcontroltoolkit is undefined and this error is appearing for 4 times - 4 buttons are added in the editor this is only IE7.0
alaa9jo
Star
11375 Points
2036 Posts
Re: Ajaxcontroltoolkit Editor in chrome and IE7.0
Jan 07, 2010 08:53 AM|LINK
It's hard to tell,please answer on these:
1)Do you use ToolKitScriptManager?
2)Is enablecompression="false" existed in your webconfig?
3)Post the webconfig contents here
Ala'a Alnajjar
----------------------------------------------------
My Webblog
Vince Xu - M...
All-Star
80367 Points
6801 Posts
Re: Ajaxcontroltoolkit Editor in chrome and IE7.0
Jan 11, 2010 05:15 AM|LINK
Please check if it is working if you set CombineScripts=True for that.
chouhan001
Member
2 Points
1 Post
Re: Ajaxcontroltoolkit Editor in chrome and IE7.0
Apr 02, 2012 11:45 AM|LINK
Thanks you very much, it is working for me like:
AjaxControlToolkit.ToolkitScriptManager _scriptManager = (AjaxControlToolkit.ToolkitScriptManager)ScriptManager.GetCurrent(this.Page);
_scriptManager.CombineScripts = true;