Re: cuteeditor1.Text returning " " with exception in Safari 3.1

  •  03-20-2008, 2:30 PM

    Re: cuteeditor1.Text returning " " with exception in Safari 3.1

    Adam,
    no I can't. It is showing the html with the text I entered.
    I can't figure it out. here is my code to help you understand the problem-
     

    <CE:Editor ID="cuteScenario" runat="server" Width="100%" Text="Scenario Text" Height="125px"

    ShowBottomBar="False" ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/EditorToolBar.config">

    <FrameStyle BackColor="White" BorderStyle="Solid" Width="100%" Height="100%" CssClass="CuteEditorFrame"

    BorderWidth="1px" BorderColor="#DDDDDD"></FrameStyle>

    </CE:Editor>

    <asp:Button ID="btnAddScenario" OnClick="btnAddScenario_Click" runat="server" Text="Add Scenario"

    Visible="False"></asp:Button>

     

    protected void btnAddScenario_Click(object sender, EventArgs e)

    {

    HTML2RTF _html2rtf;

    Scenario _scenario = new Scenario();

    _scenario.DriveId = DriveId;

    _html2rtf = new HTML2RTF(cuteScenario.Text);

    _scenario.ScenarioTextPrint = _html2rtf.RTF;

    _scenario.ScenarioTextWeb = cuteScenario.Text;

    _scenario.ScenarioTextPlain = cuteScenario.PlainText;

    _scenario.LastActivityUser = new Guid(UserId);

    _scenario.LastActivityDate = DateTime.Now;

    int scenarioid = _scenario.Insert();
    }
     
    it's throwing an exception on the line marked in red.
    again, only in Safari. not in IE.
     
    Please help me!
View Complete Thread