I have a numeric textbox that is used to choose a birthday year. I want the box to be blank when the form first comes up so I know if the user fills in the box or not. I tried setting the value and it won't let me set to 0 since it is outside the Min/Max range. Any suggestions?
5 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 25 Oct 2010, 06:28 AM
Hello Rhonda,
You could set the EmptyMessage for RadNumericTextBox so that user will know that he missed tyting birthday year.
ASPX:
-Shinu.
You could set the EmptyMessage for RadNumericTextBox so that user will know that he missed tyting birthday year.
ASPX:
<
telerik:RadNumericTextBox
ID
=
"bYearTextBox"
runat
=
"server"
EmptyMessage
=
"Enter birthday year"
MinValue
=
"2000"
MaxValue
=
"2010"
>
</
telerik:RadNumericTextBox
>
-Shinu.
0
Rhonda
Top achievements
Rank 1
answered on 25 Oct 2010, 02:21 PM
Thank you for the help, turns out that the textbox automatically added a value=0 and that was the problem. Is there any trick to making the empty message show up in the combo boxes?
0
Hello Rhonda,
Set AllowCustomText to "true" for the RadComboBox.
http://www.telerik.com/help/aspnet-ajax/using-emptymessage-property.html
Regards,
Dimo
the Telerik team
Set AllowCustomText to "true" for the RadComboBox.
http://www.telerik.com/help/aspnet-ajax/using-emptymessage-property.html
Regards,
Dimo
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Rhonda
Top achievements
Rank 1
answered on 25 Oct 2010, 03:06 PM
Sorry but that doesn't work because then the user isn't tied to only selecting one of the values in the combo box.
0
Hello Rhonda,
I am afraid this is the way RadComboBox works currently. We will implement a different behavior for some of the next versions of the control.
All the best,
Dimo
the Telerik team
I am afraid this is the way RadComboBox works currently. We will implement a different behavior for some of the next versions of the control.
All the best,
Dimo
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items