Good afternoon :-)
RadTextBox
Is it possible to set the "MaxLength" to the size of SQL 2005 DB field "automagicly" :-)
(RadTextBox, RadMaskedTextBox, RadNumericTextBox...)
Ex.:
CREATE TABLE [dbo].[Locale](
[idLocale] [nchar](10) NOT NULL,
[Description] [nvarchar](50) NULL,
CONSTRAINT [PK_Locale] PRIMARY KEY CLUSTERED
I'd like to remove the MaxLength="50" properties or that we don't need to explicitly define it.
Thanks!
RadTextBox
Is it possible to set the "MaxLength" to the size of SQL 2005 DB field "automagicly" :-)
(RadTextBox, RadMaskedTextBox, RadNumericTextBox...)
Ex.:
CREATE TABLE [dbo].[Locale](
[idLocale] [nchar](10) NOT NULL,
[Description] [nvarchar](50) NULL,
CONSTRAINT [PK_Locale] PRIMARY KEY CLUSTERED
<telerik:RadTextBox ID="Description" Text='<%# Bind("Description") %>' Runat="server" Skin="WebBlue" |
Width="200px" ReadOnly="true" MaxLength="50"> |
</telerik:RadTextBox> |
I'd like to remove the MaxLength="50" properties or that we don't need to explicitly define it.
Thanks!