Hi,
Can I change the property of the picker, for example : "MinDate"? If Yes, How to change it?
I have tried this code, but it seems doesn't work.
Regards,
Daniel
Can I change the property of the picker, for example : "MinDate"? If Yes, How to change it?
I have tried this code, but it seems doesn't work.
protected void rgFamilies_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e) |
{ |
if (e.Item is GridEditableItem && (e.Item as GridEditableItem).IsInEditMode) |
{ |
GridDateTimeColumnEditor dtpDate = editItem.EditManager.GetColumnEditor("BirthDate") as GridDateTimeColumnEditor; |
dtpDate.PickerControl.MinDate = new DateTime(1900, 1, 1); |
dtpDate.DataBind(); |
} |
} |
Regards,
Daniel