or
Hi,
Is it possible to set up self-referencing hierarchy when using client-side data-binding?
I've successfully created such grid with 'regular' server side data-bindings but when i switch client-side ones (declarative or non-declarative) it remains flat.
Greetings,
Tom
| <script type="text/javascript"> |
| function onRequestStart(sender, args) |
| { |
| if (args.get_eventTarget().indexOf("ExportToExcelButton") >= 0 || |
| args.get_eventTarget().indexOf("ExportToWordButton") >= 0 || |
| args.get_eventTarget().indexOf("ExportToPdfButton") >= 0 || |
| args.get_eventTarget().indexOf("ExportToCsvButton") >= 0) |
| { |
| args.set_enableAjax(false); |
| } |
| } |
| </script> |
| RadGrid1.MasterTableView.EditMode = GridEditMode.PopUp |
| RadGrid1.MasterTableView.EditFormSettings.PopUpSettings.Modal = True |
| /* column container */ |
| .containerinmulticolumn { |
| position:relative; |
| clear:both; |
| float:left; |
| width:100%; /* width of whole page */ |
| overflow:hidden; /* This chops off any overhanging divs...some some CSS left out of post */ |
| } |



foreach
(RadDate item in RadCalendar1.SelectedDates)
{
RadCalendarDay day = new RadCalendarDay();
day.Date = item.Date;
day.IsDisabled =
true;
day.IsSelectable =
false;
day.ItemStyle.CssClass =
"calendarHolidays";
RadCalendar2.SpecialDays.Add(day);
}
Following, css:
.calendarHolidays
a
{
color: red !Important;
background-color: #f2f2f2 !Important;
}
this class is inside of Calendar.Web20 css.
Could anyone help me plase??/
Thank you for all attention,
Carlos