I have tried to find the answer in the forum without success, of the issue I'm having.
I'm setting a MinDate programmatically in the ItemBound:
protected void RadGridiPur_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridEditableItem && (e.Item as GridEditableItem).IsInEditMode)
{
GridEditableItem edititem = e.Item as GridEditableItem;
RadDatePicker dtpkrSend = (RadDatePicker)edititem["SendDate"].Controls[0];
DateTime dtTmp = DateTime.Today;
dtpkrSend.MinDate = dtTmp.AddDays(1);
...
But I can still choose the days in the Calendar before this date, compared to when I'm setting the date in the designermode:
... MinDate="08-Jun-2009 00:00:00"></telerik:GridDateTimeColumn>
Can I in some way get the same behaviour as when setting the date in designermode, as programmetically? My intention is to force our users to set the date tomorrow and forth.
Thanx for feedback!
Cheers
Johan