CleanUpMicrosoftwordHTML() does'nt do any thing on my editor text. Please help urgent !!

  •  11-01-2008, 4:37 AM

    CleanUpMicrosoftwordHTML() does'nt do any thing on my editor text. Please help urgent !!


     
    Hi I have the following code in aspx page.
     
    <CE:Editor ID="txtGoalDesc" runat="server" AllowEditServerSideCode="true" ResizeMode="AutoAdjust"  DisableItemList="Save" RenderRichDropDown="true"  ShowBottomBar="true"  Width="100%"  ThemeType="Office2007"   AutoConfigure="Full" ></CE:Editor>
     
    In code behind, while saving to the database, I want to remove word specific HTML and all messy HTML. So I am doing like this
     
                txtGoalDesc.CleanUpMicrosoftwordHTML();
                txtGoalDesc.CleanUpHTML();
     
      Then saving txtGoalDesc.Text to the database.
     
     But There is no difference between the editor text before and after using the above cleanup functions. I am still having the word and messy HTML in my final txtGoalDesc.Text.  But If I use the cleanup tool of the editor manually, it does.
     
     Do we need any extra settings to use the above functions ? I am struck here. I have my deadline to client on this monday 11/03/2008. Please help.
     
    Please help. Thanks in advance.
     
     
    Rama
     
             
View Complete Thread