Hi,
I have a grid (hyrachical) where I edit the detail rows.
The Form template looks like this:
I found the article about setting maxlength (via jscript) - but using this srcipt results in "The Name edTheString is not....".
Now my questions:
a.) what is the correct ID for this scenario?
b.) can something like this be handled with a custom module?
My Idea for b.) - there is a statistic module which shows me the number of letters.
Is it possible to write an own module which also counts the number of letters - but rejects changes when the length is longer than XXX
By the way - "MaxLength" is a very common thing - especially when you work with databases.
So it would be a great idea to have this as "property" like an asp:TextBox has it.
Regards
Manfred
I have a grid (hyrachical) where I edit the detail rows.
The Form template looks like this:
<EditFormSettings EditFormType="Template" > |
<FormTemplate> |
<asp:Button ID="Button1" Text="Update" runat="server" CommandName="Update"></asp:Button> |
<asp:Button ID="Button2" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel"></asp:Button> |
<br /> |
<telerik:RadEditor ToolsFile="/Images/ToolsForStrings.xml" Skin="Office2007" Language="de-DE" ID="edTheString" runat="server" Width="760px" Height="150px" Content='<%# Bind("TheString") %>'> |
</telerik:RadEditor> |
</FormTemplate> |
</EditFormSettings> |
Now my questions:
a.) what is the correct ID for this scenario?
b.) can something like this be handled with a custom module?
My Idea for b.) - there is a statistic module which shows me the number of letters.
Is it possible to write an own module which also counts the number of letters - but rejects changes when the length is longer than XXX
By the way - "MaxLength" is a very common thing - especially when you work with databases.
So it would be a great idea to have this as "property" like an asp:TextBox has it.
Regards
Manfred