or
<script type="text/javascript"> function focusItem(panelbar, args) { var item = args.get_item(); if (item.get_level() == 0) item.focusFirstChild(); } </script> <telerik:RadPanelBar ID="PostsRadPanelBar" runat="server" Skin="Web20" Font-Size="16px" onclientitemfocus="focusItem" ExpandMode="SingleExpandedItem" > <Items> <telerik:RadPanelItem Text="Office" Expanded="True"> <Items> <telerik:RadPanelItem Text="Office Detail"> </telerik:RadPanelItem> <telerik:RadPanelItem Text="Addresses"> </telerik:RadPanelItem> <telerik:RadPanelItem Text="Communications"> </telerik:RadPanelItem> <telerik:RadPanelItem Text="Site Specifics"> </telerik:RadPanelItem> </Items> </telerik:RadPanelItem> <telerik:RadPanelItem Text="Positions"> <Items> <telerik:RadPanelItem Text="Position Detail"> </telerik:RadPanelItem> <telerik:RadPanelItem Text="Assignment Detail (FSO)"> </telerik:RadPanelItem> </Items> </telerik:RadPanelItem> <telerik:RadPanelItem Text="Products & Services"> <Items> <telerik:RadPanelItem Text="Products & Services Information"> </telerik:RadPanelItem> </Items> </telerik:RadPanelItem> <telerik:RadPanelItem Text="Residences"> <Items> <telerik:RadPanelItem Text="Residence Information"> </telerik:RadPanelItem> </Items> </telerik:RadPanelItem> <telerik:RadPanelItem Text="Vehicles"> <Items> <telerik:RadPanelItem Text="Vehicle Detail"> </telerik:RadPanelItem> <telerik:RadPanelItem Text="Purchase & Disposition"> </telerik:RadPanelItem> </Items> </telerik:RadPanelItem> <telerik:RadPanelItem Text="Security"> <Items> <telerik:RadPanelItem Text="Security Information"> </telerik:RadPanelItem> </Items> </telerik:RadPanelItem> </Items> </telerik:RadPanelBar>htmlfile: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept focus.
The Scheduler is set up as follows:
RadScheduler1.DataKeyField = "ID"RadScheduler1.DataStartField = "DateStart"RadScheduler1.DataEndField = "DateEnd"RadScheduler1.DataDescriptionField = "Comment"RadScheduler1.DataSubjectField = "Description"RadScheduler1.DataRecurrenceField = "RecurrenceRule"RadScheduler1.DataRecurrenceParentKeyField = "ParentID"RadScheduler1.DataSource = mColAppointmentsRadScheduler1.DataBind()Note that mColAppointments is the List(Of JobAppointment) - a collection of Appointment objects.
There are two Issues I can see with the above:
In both cases, I think the solutiion might lie in doing some sort of translation when reading and writing the recurrence rule and parent id to/from the database. But I am not sure what exactly is required here.
PS - I have not submitted a support ticket as I thought this may be useful to others using this forum.
Any help much appreciated.
Regards.
