So if I create a new WebDateChooser and set the value to string.Empty or "", the WebDateChooser displayed with the word "Null". Is there a way to make it say nothing (i.e. have an empty value)?
WebDateChooser.Text is read-only, so I can't set the value that way. I guess I could use the CSOM's method "setText", but that seems like a hassle for such an easy problem.
http://ko.infragistics.com/dotnet/netadvantage/aspnet/webdatechooserdemos.aspx#HelpCenter doesn't work. It says "There was a problem loading. Please try again later. If the problem continues, please let us know."
Hi Kim,
I'm trying something quite different, I want just to display an image of a calendar inside the web date chooser with no text.
When the page loads I did the following:
Chooser_StartDate.NullDateLabel = String.Empty;
Chooser_StartDate.NullValueRepresentation = NullValueRepresentation.NotSet;
This works fine!
However, after the user chooses a value, the default date is written as text, even though i changed the editor.text property, as shown below
function Chooser_StartDate_ValueChanged(oDateChooser, newValue, oEvent)
{
var target = document.getElementById("EndDate");
..oDateChooser.editor.text = "";
}
Why is still showing me a date text there as shown here (the 2/) over the calendar image.
Thanks,
Yoni
eschmuck,
Try setting the WebDateChooser's NullDateLabel property to "".
If you'd like to look through the documentation on the WebDateChooser, you can go here.
Hope this helps,
~Kim~