Hi all,
I have a problem in radnumericbox in a radgrid ,while editing. When i click to edit button it says " The string was not recognized as a valid format."
Here is my code for the column, any help will be appreciated...
I have a problem in radnumericbox in a radgrid ,while editing. When i click to edit button it says " The string was not recognized as a valid format."
Here is my code for the column, any help will be appreciated...
&<telerik:GridTemplateColumn DataField="BIRIM_FIYAT" DataType="System.Decimal" HeaderText="Birim Fiyat"SortExpression="BIRIM_FIYAT" UniqueName="BIRIM_FIYAT"> |
<ItemTemplate> |
<asp:Label ID="BIRIM_FIYATLabel" runat="server" Text='<%# Eval("BIRIM_FIYAT","{0:C}")%>'> |
</asp:Label> |
</ItemTemplate> |
<EditItemTemplate> |
<asp:Label ID="Label7" runat="server" Text="Birim Fiyat:"></asp:Label><br/> |
<telerik:RadNumericTextBox ID="BIRIM_FIYATTxt" runat="server" Culture="Turkish (Turkey)" DbValue='<%# Bind("BIRIM_FIYAT") %>' Height="18px" LabelCssClass="radLabelCss_Default" Skin="Office2007" Width="100px" ToolTip="Detay Tutar Girişi Yapılır" MaxLength="10" CausesValidation="True"> |
</telerik:RadNumericTextBox> |
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="BIRIM_FIYATTxt" ErrorMessage="Fiyat Giriniz!"> </asp:RequiredFieldValidator> |
</EditItemTemplate> |
</telerik:GridTemplateColumn> |