This is a migrated thread and some comments may be shown as answers.

RadNumericBox edit problem

2 Answers 79 Views
Grid
This is a migrated thread and some comments may be shown as answers.
umut
Top achievements
Rank 1
umut asked on 16 Oct 2008, 07:23 AM
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...

&<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> 



2 Answers, 1 is accepted

Sort by
0
Missing User
answered on 17 Oct 2008, 11:26 AM
Hello umut,


I tried to reproduce the problem locally, but to no avail. Can you please check the attached project and let me know if I am missing something?

Sincerely yours,
Plamen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
umut
Top achievements
Rank 1
answered on 17 Oct 2008, 12:09 PM
Thank you for your effort. I found that the problem was encountered because of our dataset.
Tags
Grid
Asked by
umut
Top achievements
Rank 1
Answers by
Missing User
umut
Top achievements
Rank 1
Share this question
or