<div id="MegaDropDown">
...
var title = String.Format("Unclassified <span style='font-size:9px'>({0})</span>", nb); RadTreeNode unclassified = new RadTreeNode(title, "-2");<telerik:GridTemplateColumn HeaderText="Image Url"> <ItemTemplate> <asp:Label ID="lblImageUrl" runat="server" Text='<%# ShortenText.Shorten(Eval("imageURL"), 20) %>' /> </ItemTemplate> <EditItemTemplate> <asp:TextBox ID="txtImageUrl" runat="server" Text='<%# Eval("imageURL") %>' /><asp:RequiredFieldValidator ID="ImageUrlValidator" runat="server" ErrorMessage="Image URL is required!" ControlToValidate="txtImageUrl" Text="*" ValidationGroup="AdvertsGroup" /><asp:RegularExpressionValidator ID="ImageUrlValidator1" runat="server" ErrorMessage="Image URL can be only image path!" Text="*" ControlToValidate="txtImageUrl" ValidationExpression="http(s?)://([\w-]+\.)+[\w-]+(/[\w- ./]*)+\.(?:gif|jpg|jpeg|png|bmp|GIF|JPEG|JPG|PNG|BMP|Gif|Jpg|Jpeg|Png|Bmp)$" ValidationGroup="AdvertsGroup" /> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn HeaderText="Navigate Url"> <ItemTemplate> <asp:Label ID="lblNavigateUrl" runat="server" Text='<%# ShortenText.Shorten(Eval("navigateURL"), 20) %>' /> </ItemTemplate> <EditItemTemplate> <asp:TextBox ID="txtNavigateUrl" runat="server" Text='<%# Eval("navigateURL") %>' /><asp:RequiredFieldValidator ID="NavigateUrlValidator" runat="server" ErrorMessage="Navigate URL is required!" ControlToValidate="txtNavigateUrl" Text="*" ValidationGroup="AdvertsGroup" /><asp:RegularExpressionValidator ID="NavigateUrlValidator1" runat="server" ErrorMessage="Navigate URL should be valid internet url!" ControlToValidate="txtNavigateUrl" Text="*" ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?" ValidationGroup="AdvertsGroup" /> </EditItemTemplate> </telerik:GridTemplateColumn>We encountered following problems with the version 2012.1.215.35
1. Enter button stopped working for all the pages, if focus is on any of the other controls on the page. For example , in login page, the default onload cursor was on username field, if we just pressed entered, it did not work, if we clicked on any other point on the page and clicked enter, it worked as expected.
2. RadDatePicker control - behavior changed for some pages- if the date field is clicked, in first click, it was highlighting the date and showed the calendar control in second click.
After downloading the version 2011.3.1305.35, these problems were gone.
I am populating a Rad Scheduler using a WCF services, some of the items cannot be deleted so I have set AllowDelete to be false this does not seem to work and when I hover over the appointment the delete image still appears.
I have also tried to set some other information based on whether the appointment is a parent or child and this does not seem to work either, see my code below. The subject of the appointment changes to be either "Parent: ...." or "Child: ...." so the IF statement is working correctly. But the other changes I am trying to make do not seem to work correctly.
Am I adding the appointments incorrectly/is there another way to do this that will work.
Public Overloads Overrides Function GetAppointments(ByVal Owner As RadScheduler) As IEnumerable(Of Appointment) Dim AppointmentsList As New List(Of Appointment) 'get a list of appointments to add and put them in the list above Do While Rs.ReadNext Dim AppointmentItem As New Appointment Slot.Fill(Rs.ReadRow) AppointmentItem.Start = Slot.Start_DT.Value AppointmentItem.End = Slot.End_DT.Value AppointmentItem.AllowEdit = False AppointmentItem.ID = Slot.GUI.Value If Slot.ParentGUI.IsNull Then AppointmentItem.Subject = "Parent: " & Slot.Name.Value AppointmentItem.AllowDelete = False AppointmentItem.ContextMenuID = "SchedulerAppointmentContextMenuDelete" Else AppointmentItem.Subject = "Child: " & Slot.Name.Value AppointmentItem.RecurrenceParentID = Slot.ParentGUI.Value AppointmentItem.AllowDelete = False AppointmentItem.BackColor = System.Drawing.Color.Black AppointmentItem.ForeColor = Drawing.Color.Pink AppointmentItem.ContextMenuID = "SchedulerAppointmentContextMenuNothing" ' have tried this too, AppointmentItem.ContextMenuID = Nothing End If AppointmentsList.Add(AppointmentItem) Loop Rs.Close() Return AppointmentsListEnd Function