Hi,
I m having multiple GridDateTimeColumn in a radgrid, but i can able to open pop up for single GridDateTimeColumn datetimepicker only when i selecting the date.
If i selected a date from any one of these GridDateTimeColumn, then i cannot open other GridDateTimeColumn (they not open pop up). But it works only in 'Popup' editmode'
Please find the code snippet i have used below,
Please give any suggestion.
Thanks in advance.
Regards
Maha
I m having multiple GridDateTimeColumn in a radgrid, but i can able to open pop up for single GridDateTimeColumn datetimepicker only when i selecting the date.
If i selected a date from any one of these GridDateTimeColumn, then i cannot open other GridDateTimeColumn (they not open pop up). But it works only in 'Popup' editmode'
Please find the code snippet i have used below,
| private GridDateTimeColumn CreateDateGridColumn(string fieldname) |
| { |
| GridDateTimeColumn DT = new GridDateTimeColumn(); |
| DT.UniqueName = fieldname; |
| DT.HeaderText = "fieldname"; |
| DT.PickerType = GridDateTimeColumnPickerType.DatePicker; |
| DT.DataFormatString = "{0:MM/dd/yyyy}"; |
| DT.ColumnEditorID = fieldname + "Editor"; |
| DT.DataField = fieldname; |
| DT.SortExpression = fieldname; |
| DT.ItemStyle.Width = Unit.Pixel(120); |
| DT.FilterControlWidth = Unit.Pixel(50); |
| DT.EmptyDataText = " "; |
| return DT; |
| } |
Please give any suggestion.
Thanks in advance.
Regards
Maha
