Advanced HTML Editor 2 Support Product Page

ASP.NET Textbox

Asked 31 May 2010 13:44:27
1
has this question
31 May 2010 13:44:27 Jeff J posted:
I am having difficulty getting Advanced HTML Editor 2 to work

I have asp.net page with the following bit of code in a formview

<asp:TextBox dmxedit="true" id="PhotoNotesTextBox" runat="server" Text='<%# Bind("PhotoNotes") %>' name="editor1" style="width:100%;height:400px;" Wrap="true" TextMode="MultiLine"></asp:TextBox>





The Advanced HTML Editor displays in the browser but submitting does not update the database. If I remove the dmxedit="true" it does update the database

For more information I have this in the head :-
   <style type="text/css">
    /* BEGIN Advanced HTML Editor */
.dmx_btn     { width: 22px; height: 22px; border: 1px solid #ECE9D8; margin: 0; padding: 0; background-color: #ECE9D8; }
.dmx_btnOver { width: 22px; height: 22px; border: 1px outset; margin: 0; padding: 0; background-color: #FCF9E8; }
.dmx_btnDown { width: 22px; height: 22px; border: 1px inset; margin: 0; padding: 0; background-color: #FCF9E8; }
.dmx_btnNA   { width: 22px; height: 22px; border: 1px solid #ECE9D8; margin: 0; padding: 0; -moz-opacity:0.25; opacity:0.25; filter: alpha(opacity=25);}
.dmx_menuBar { background-color: #ECE9D8; }
/* END Advanced HTML Editor */
-->
</style>
    <script language="javascript">
<!--
/* BEGIN Advanced HTML Editor */
var BaseURL = "";
/* END Advanced HTML Editor */
//-->
</script>
<script language="JavaScript" src="AdvHTMLLang.js"></script>
<script language="JavaScript" src="AdvHTMLEdit.js"></script>


============================================
<asp:FormView ID="FormView1" runat="server" CellPadding="4" DataKeyNames="PhotoID"
            DataSourceID="SqlDataSource1" ForeColor="#333333" AllowPaging="True" Height="416px" Width="730px">
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <EditItemTemplate>
                PhotoID:
                <asp:Label ID="PhotoIDLabel1" runat="server" Text='<%# Eval("PhotoID") %>'></asp:Label><br />
                PhotoCat:
                <asp:TextBox ID="PhotoCatTextBox" runat="server" Text='<%# Bind("PhotoCat") %>'>
                </asp:TextBox><br />
                PhotoTitle:
                <asp:TextBox ID="PhotoTitleTextBox" runat="server" Text='<%# Bind("PhotoTitle") %>'>
                </asp:TextBox><br />
                PhotoNotes:
                <asp:TextBox dmxedit="true" id="PhotoNotesTextBox" runat="server" Text='<%# Bind("PhotoNotes") %>' name="PhotoNotesTextBox" style="width:100%;height:400px;" Wrap="true" TextMode="MultiLine">
                </asp:TextBox><br />
                PhotoAdded:
                <asp:TextBox ID="PhotoAddedTextBox" runat="server" Text='<%# Bind("PhotoAdded") %>'>
                </asp:TextBox><br />
                PhotoAddedBy:
                <asp:TextBox ID="PhotoAddedByTextBox" runat="server" Text='<%# Bind("PhotoAddedBy") %>'>
                </asp:TextBox><br />
                PhotoURL:
                <asp:TextBox ID="PhotoURLTextBox" runat="server" Text='<%# Bind("PhotoURL") %>'>
                </asp:TextBox><br />
                PhotoFileName:
                <asp:TextBox ID="PhotoFileNameTextBox" runat="server" Text='<%# Bind("PhotoFileName") %>'>
                </asp:TextBox><br />
                <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
                    Text="Update">
                </asp:LinkButton>
                <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                    Text="Cancel">
                </asp:LinkButton>
            </EditItemTemplate>


Edited by - Jeff Palmer on 31 May 2010  13:47:43

Edited by - Jeff Palmer on 31 May 2010  13:49:05

Edited by - Jeff Palmer on 31 May 2010  13:49:51

Replies

Replied 14 Jun 2010 15:54:05
14 Jun 2010 15:54:05 Jeff J replied:
Anyone got any ideas?
Replied 08 Aug 2010 15:50:24
08 Aug 2010 15:50:24 J P replied:
I'm still having difficulty. Anyone able to assist?
Replied 06 Sep 2010 18:24:37
06 Sep 2010 18:24:37 Jeff J replied:
Anyone from DMXZone out there?
Replied 10 Sep 2010 10:00:59
10 Sep 2010 10:00:59 Miroslav Zografski replied:
Hello Jeff,

Please, excuse me for the delay of my answer.
Could you provide a link to a test page where that behavior occur in order to debug the submit?

Regards,

Reply to this topic