Problem with MAXHTMLLENGTH and MAXTEXTLENGTH

  •  06-23-2009, 11:50 AM

    Problem with MAXHTMLLENGTH and MAXTEXTLENGTH

    Hello,
     
    I am using 6.3, and I can't have maxhtmllength and maxtextlength to work.
     
    Whatever the values I put, it doesn't change anything and it has no limit.
     
    CE is in EditItemTemplates inside formviews like here:

    <asp:FormView ID="FormView2" runat="server" DataKeyNames="idpage" DataSourceID="SqlDataSource1"

    DefaultMode="Edit" BackColor="WhiteSmoke">

    <EditItemTemplate>

    <asp:Label ID="idpageLabel1" runat="server" Visible="false" Text='<%# Eval("idpage") %>'></asp:Label><br />

    <CE:Editor ID="Editor1" runat="server" Width="750px" MaxTextLength="200" AutoConfigure="Simple" Text='<%# Bind("contenupage") %>'>

    </CE:Editor>

    <asp:TextBox ID="nompageTextBox" Visible="false" runat="server" Text='<%# Bind("nompage") %>'>

    </asp:TextBox><br />

    <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"

    Text="Mettre jour">

    </asp:LinkButton>

    <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"

    Text="Annuler">

    </asp:LinkButton>

    </EditItemTemplate>

    </asp:FormView>
     
    Is it because of the implementation inside a formwiew ?
     
    I have also tried to setup on code behind, but same result so far.
     
    Any idea ?
     
    Thanks a lot
View Complete Thread