Thanks for your reply,
about question 1 and 2, I would like to specify that I'm using Standard Dialog, I think my issues are about standard dialog.
The following code is my example for question 3:
- <%@ Page Language="C#"%>
- <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
- <script runat="server">
- public string loaderName;
-
- protected override void OnInit(EventArgs e)
- {
- base.OnInit(e);
- System.Web.HttpBrowserCapabilities browser = Request.Browser;
- string browserName = browser.Browser;
-
- switch (browserName)
- {
- case "IE":
- loaderName = "IE_Loader";
- break;
- case "Firefox":
- loaderName = "Gecko_Loader";
- break;
- case "AppleMAC-Safari":
- loaderName = "Safari_Loader";
- break;
- case "Opera":
- loaderName = "Opera_Loader";
- break;
- default:
- break;
- }
-
-
- Editor1.UseStandardDialog = true;
- }
- </script>
-
- <script src="/CuteSoft_Client/CuteEditor/Scripts/spell.js"></script>
- <script src="/CuteSoft_Client/CuteEditor/Scripts/<%=loaderName %>/Loader.js"></script>
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head></head>
- <body>
- <form id="Form1" runat="server">
- <table>
- <tr>
- <td>
- <div id="hidden" style="display:none;">
- <CE:Editor id="Editor1" runat="server" ></CE:Editor>
- </div>
- </td>
- <tr>
- </table>
- <button onclick="document.getElementById('hidden').style.display = 'block';return false;">block</button>
- <button onclick="document.getElementById('hidden').style.display = 'none';return false;">none</button>
-
- </form>
- </body>
- </html>