Re: Editor.Setting.GetHashString()

  •  06-15-2009, 5:54 AM

    Re: Editor.Setting.GetHashString()

    Hi Adam,
     
    I have the same problem with the "Editor.Setting.GetHashString()" and I had a look on the Demo but I cant see the .aspx design tags .....
    I tryed to copy the javascript function but I have some javascript error
    "I think its related to my previous issue ( the solution was to make UseStandardDaialog=true)"
     
    I'm using it as follow:

         <td colspan="3">
          <asp:textbox id="txtURL" runat="server" CssClass="TextBox" Width="90%"></asp:textbox>
          <input type="button" value="..." onclick="OpenAddFileDlg();" class="HButtonS">
         </td>

    .
    .
    .
    .
    .
    .

         <td colspan="4" style="VISIBILITY: hidden">
          <CE:EDITOR id="Editor1" runat="server" Height="72px" CssClass="TestEditorCSS" Width="24px"
           ShowPreviewMode="False" ShowHtmlMode="False" ShowGroupMenuImage="False" ShowBottomBar="False"
           ShowToolBar="False" RenderRichDropDown="False">
          </CE:EDITOR>
         </td>


    .
    .
    .
    .
    .
    .


      <script language="javascript">
    <!--
      function OpenAddFileDlg()
      {
       ctrl = document.getElementById("txtURL");
       var url= showModalDialog("../../CuteSoft_Client/CuteEditor/Dialogs/SelectFile.aspx?settinghash=<%=Editor1.Setting.GetHashString()%>", ctrl,"dialogWidth:560px;dialogHeight:550px");
       if(url)
       {
        ctrl.value = url;
       }
      }
      
    //-->
      </script>

View Complete Thread