function OnClientFileSelected(sender, args) { var currentFileName = args.get_fileName(); var fullPath = "C:/TempUpload/" + currentFileName; $("#LogoAuswahlPre").attr("href", fullPath); $('#LogoAuswahlPre').attr('data-lightbox', 'LogoAuswahl');}<telerik:RadTimePicker ID="rtpVitals" runat="server" Width="85" DateInput-DateFormat="HH:mm" TimeView-TimeFormat="HH:mm" Skin="Hay"> <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"> </Calendar> <TimeView CellSpacing="-1" TimeFormat="HH:mm" OnClientTimeSelected="OnClientTimeSelected"> </TimeView> <TimePopupButton CssClass="" ImageUrl="" HoverImageUrl="" onblur="hideTimePopup('rtpVitals');"> </TimePopupButton> <DatePopupButton Visible="False" CssClass="" ImageUrl="" HoverImageUrl=""></DatePopupButton> <DateInput CssClass="txtbox txtBack-Color" BorderColor="#D0D1AE" BorderStyle="Solid" BorderWidth="1" ForeColor="#333333" onblur="enterDateTime();"> </DateInput></telerik:RadTimePicker>private void setTimePicker(){ try { TimeZoneInfo t = TimeZoneInfo.FindSystemTimeZoneById("Central Standard Time"); DateTime d = DateTime.UtcNow.ToUserTime(t); rtpVitals.TimeView.StartTime = new TimeSpan(0, 0, 0); if (d.Hour < 1) { rtpVitals.TimeView.Interval = new TimeSpan(0, d.Minute/2, 0); if (d.Minute <= 1) { rtpVitals.TimeView.Interval = new TimeSpan(0, 0, d.Second/2); } } else if (d.Hour < 12) { rtpVitals.TimeView.Interval = new TimeSpan(0, 30, 0); } else { rtpVitals.TimeView.Interval = new TimeSpan(1, 00, 0); } rtpVitals.TimeView.EndTime = new TimeSpan(d.Hour, d.Minute, d.Second); } catch (Exception ex) { throw ex; }}public static DateTime ToUserTime(this DateTime utcTime, TimeZoneInfo toUserTimeZone){ try { utcTime = DateTime.SpecifyKind(utcTime, DateTimeKind.Unspecified); //Create the userTime object //Set it to UTC time by default. It would be changed later DateTime userTime = utcTime; //Convert the time TimeZoneInfo fromTimeZone = TimeZoneInfo.Utc; userTime = TimeZoneInfo.ConvertTime(utcTime, fromTimeZone, toUserTimeZone); //Return the TimeZone return userTime; } catch { throw; }}<telerik:RadComboBox ID="agentID_cmb" Runat="server" AutoPostBack="True" DataSourceID="SqlDataSource1" DataTextField="agentName" DataValueField="agentID" onselectedindexchanged="agentID_cmb_SelectedIndexChanged" ontextchanged="agentID_cmb_TextChanged" Skin="Office2007"> </telerik:RadComboBox> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:1122ConnectionString %>" SelectCommand="SELECT [agentID],[agentName] FROM [tblagents]"></asp:SqlDataSource>
0x800a139e - JavaScript runtime error: SyntaxError
Any ideas?
Hi Telerik,
I had RadEditor working till some time ago the client reported that some features don't work anymore and they get the message "The command <command name> is not implemented yet” .
I’ve tried the same sequence on the SharePoint server browser (IE7) and it works fine. I’ve tested on other servers browsers (even with different version, IE8) and it worked fine with all features.
I made tests with other hosts with different OS version and browser version (even with different browsers) and the result is the same, some features don’t work.
Many thanks
Luís Nuno Silva
<telerik:RadRotator id="RadRotator1" runat="server" SlideShowAnimation-Type="CrossFade"></telerik:RadRotator>public RadRotator GenerateRotatingBanner(SiteBanner banner) { RadRotator thisRotator = new RadRotator(); thisRotator.Width = Unit.Pixel(banner.BannerWidth); thisRotator.ItemWidth = Unit.Pixel(banner.ImageWidth); thisRotator.Height = Unit.Pixel(banner.BannerHeight); thisRotator.ItemHeight = Unit.Pixel(banner.ImageHeight); thisRotator.ScrollDuration = Convert.ToInt32(banner.TransitionTime * 1000); thisRotator.FrameDuration = Convert.ToInt32(banner.FrameDelay * 1000); thisRotator.PauseOnMouseOver = false; thisRotator.ItemTemplate = new RotatorTemplate(); thisRotator.WrapFrames = banner.RotatingFrameWrap; thisRotator.OnClientItemClicked += "OnClientItemClicked"; thisRotator.OnClientItemShowing += "ClientItemShowing"; switch (banner.RotationType.ToLower()) { case "business card": thisRotator.RotatorType = RotatorType.AutomaticAdvance; switch (banner.Direction.ToLower()) { case "up": thisRotator.ScrollDirection = RotatorScrollDirection.Up; break; case "down": thisRotator.ScrollDirection = RotatorScrollDirection.Down; break; case "left": thisRotator.ScrollDirection = RotatorScrollDirection.Left; break; case "right": thisRotator.ScrollDirection = RotatorScrollDirection.Right; break; default: thisRotator.ScrollDirection = RotatorScrollDirection.Left; break; } break; case "carousel": thisRotator.RotatorType = RotatorType.Carousel; break; case "cover flow": thisRotator.RotatorType = RotatorType.CoverFlow; switch (banner.Direction.ToLower()) { case "up": thisRotator.ScrollDirection = RotatorScrollDirection.Up; break; case "down": thisRotator.ScrollDirection = RotatorScrollDirection.Down; break; case "left": thisRotator.ScrollDirection = RotatorScrollDirection.Left; break; case "right": thisRotator.ScrollDirection = RotatorScrollDirection.Right; break; default: thisRotator.ScrollDirection = RotatorScrollDirection.Left; break; } break; case "slide show": thisRotator.RotatorType = RotatorType.SlideShow; thisRotator.SlideShowAnimation.Duration = Convert.ToInt32(banner.TransitionTime * 1000); thisRotator.SlideShowAnimation.Type = Telerik.Web.UI.Rotator.AnimationType.CrossFade; break; default: thisRotator.RotatorType = RotatorType.AutomaticAdvance; switch (banner.Direction.ToLower()) { case "up": thisRotator.ScrollDirection = RotatorScrollDirection.Up; break; case "down": thisRotator.ScrollDirection = RotatorScrollDirection.Down; break; case "left": thisRotator.ScrollDirection = RotatorScrollDirection.Left; break; case "right": thisRotator.ScrollDirection = RotatorScrollDirection.Right; break; default: thisRotator.ScrollDirection = RotatorScrollDirection.Left; break; } break; } return thisRotator; }