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

[Solved] radcontrols in RadGrid FormTemplate

2 Answers 130 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 1
Roger asked on 03 Jun 2008, 02:28 AM
Hi,
I have several grids with RadNumeric textbox in 1 and RadDateTimePicker's in the others.

The problem comes with binding. The RadNumeric textbox requires a number and on the initial insert there is no number. If I don't bind to the grid then I can't get any values out.

I have tried the OnItemDataBound of the grid but again have problems with adding a new dataitem as the initial value will be null.

I have heard of the dbSelectedDate for the radDateTimePicker but have yet to try it.

Any suggestions on the RadNumericTextBox?

Regards

2 Answers, 1 is accepted

Sort by
0
Accepted
Konstantin Petkov
Telerik team
answered on 03 Jun 2008, 07:49 AM
Hi Roger,

You can use the NumericTextBox DbValue property for this purpose:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Input/Examples/Common/DataGrid/DefaultCS.aspx

Kind regards,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Roger
Top achievements
Rank 1
answered on 10 Jun 2008, 03:13 AM
Hi Konstantin,

thanks for that...works perfectly.

Regards
Roger
Tags
Grid
Asked by
Roger
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Roger
Top achievements
Rank 1
Share this question
or