Hi gim-matt,
You can try the way below, achieve it by javascript code.
- <%@ Page Language="c#" %>
-
- <%@ Register TagPrefix="RTE" Namespace="RTE" Assembly="RichTextEditor" %>
-
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>example</title>
- </head>
- <body>
- <form id="Form1" method="post" runat="server">
- <RTE:Editor ID="editor1" runat="server" Width="100%"/>
- </form>
- </body>
- </html>
- <script type="text/javascript">
- setInterval("refreshTime()", 1000);
- var config;
- function RichTextEditor_OnLoader(loader) {
- config = loader._config;
- }
- function refreshTime() {
- var skinctrl = config.skin_control;
- skinctrl.set_width(window.innerWidth);
- }
- </script>
Regards,
Ken