or

.createContentPageAdditionalOptions .RadUpload { width:100px !important; } .RadUpload input { font-family: verdana !important; } .createContentPageAdditionalOptions .RadUpload input.ruFakeInput { display: none; } .RadUpload input.ruBrowse { background: url(/Images/btnLeftPartInactive.png) top left no-repeat !important; width: auto !important; line-height:21px; height:23px; text-align:left; margin:0px 3px 0px 0px !important; padding:0px 8px 3px 18px !important; } .createContentPageAdditionalOptions .RadUpload .ruInputs { text-align:center; } .RadUpload input.ruBrowse, .createContentPageAdditionalOptions .RadUpload .ruUploadProgress, .createContentPageAdditionalOptions .RadUpload .ruCancel, .createContentPageAdditionalOptions .RadUpload .ruRemove { color:#fff !important; } .createContentPageAdditionalOptions .RadUpload .ruUploadProgress { background: url(/Images/btnLeftPartInactive.png) top left no-repeat !important; margin:0px 3px 0px 0px !important; height:23px; overflow:hidden; width:80px; } .RadUpload input.ruButtonHover { background: url(/Images/btnLeftPartActive.png) top left no-repeat !important; color: #d14b35 !important; } .RadUpload .ruFileWrap { width: auto !important; padding: 0px !important; background: url(/Images/btnRightPart.png) top right no-repeat !important; } .RadUpload input.ruBrowse, .createContentPageAdditionalOptions .RadUpload .ruCancel, .createContentPageAdditionalOptions .RadUpload .ruRemove, .RadUpload input.ruFileInput { cursor: pointer !important; }var modules = Telerik.Web.UI.RadAsyncUpload.Modules; if (modules && (modules.Silverlight.isAvailable() || modules.Flash.isAvailable())) { $(".ruFileWrap").live("mouseover mouseout", function (event) { $(this).children("input[class != 'ruFakeInput']").toggleClass("ruButtonHover"); }); }<telerik:RadAsyncUpload runat="server" ID="RadAsyncUploadImageForNavNode" AllowedFileExtensions="jpg,jpeg,png,gif" CssClass="divToBeCentered" MaxFileSize="5242880" MultipleFileSelection="Disabled" OnFileUploaded="RadAsyncUploadImageForNavNode_FileUploaded" EnableInlineProgress="false" Width="120px" MaxFileInputsCount="1" OnClientFileUploaded="RadAsyncUploadImageForNavNode_OnClientFileUploaded" Localization-Select="<%$ Resources:PGC, ProjectContentElement_UploadImage %>" Localization-Cancel="<%$ Resources:PGC, General_Cancel %>" Localization-Remove="<%$ Resources:PGC, General_Remove %>" > </telerik:RadAsyncUpload>function RadAsyncUploadImageForNavNode_OnClientFileUploaded(sender, args) { $("#btnRefreshUploadedImageToCurrentProjectElementStub").click(); }Dear,
I want to access a pane and set it's content url.it works by using
var contentPane = $find("<%= PaneRight.ClientID %>");var splitter = GetRadSplitter(); var pane = splitter.getPaneById("PaneRight");<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Base.Master" AutoEventWireup="true" CodeBehind="RptAuth.aspx.cs" Inherits="Rp.UI.ReportManager.RptAuth" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> <script type="text/javascript" language="javascript"> function GetRadSplitter() { return $find("<%= RadSplitter1.ClientID %>"); } function tvClientNodeClicked(sender, eventArgs) { var node = eventArgs.get_node(); if (node.get_nodes().get_count() > 0) { return; } // var splitter = GetRadSplitter(); // var pane = splitter.getPaneById("<%= PaneRight.ClientID %>"); // debugger; var contentPane = $find("<%= PaneRight.ClientID %>"); if (!contentPane) return; } </script> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server"> <telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Vertical" BorderSize="0" BorderStyle="None" Height="100%" Width="100%"> <telerik:RadPane ID="PaneLeft" runat="server" Scrolling="None" Height="100%" Width="180px"> <div style="border-top-style: solid; border-top-width: 1px; border-top-color: #3333CC"> <telerik:RadTreeView ID="tvUser" Height="100%" Width="100%" runat="server" OnClientNodeClicked="tvClientNodeClicked"> <Nodes> </div> </telerik:RadPane> <telerik:RadSplitBar runat="server" ID="RadSplitBar1" CollapseMode="Forward" /> <telerik:RadPane ID="PaneRight" runat="server" Scrolling="Both"> </telerik:RadPane> </telerik:RadSplitter> </asp:Content> Hi,
I’ve got a problem using the RadTooltipManager combined with RadDatePicker. I was able to fix the Problem on Firefox but not on IE and I don’t know what to do to get it work.
The problem is that the RadToolTip shows the wrong date as you can see on Screenshot 1.
After adding the Calendar-ClientEvents-OnCalendarViewChanged event to the DatePicker with the following JS-function
function OnCalendarViewChanged(sender, args) { element = sender.get_element(); tooltipmanager = $find("<%=RadToolTipManager1.ClientID %>"); tooltipmanager.tooltipify(sender.get_element()); }
the problem is solved in FireFox as you can see on Screenshot 2. But in the IE the problem still exists…
I hope you are able to help me to fix this.
I'm using the Version 2010.3.1502.35
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CBSamplePage.aspx.cs" Inherits="CBSamplePage" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title> RadComboBox Sample Page </title> </head><body> <form id="form1" runat="server"> <script type="text/javascript"> function validatePerson(source, args) { if ($find("<%=cbPersons.ClientID %>").get_value() > 0) { args.IsValid = true; } else { args.IsValid = false; } } </script> <div> <asp:ScriptManager runat="server" ID="scriptManager1"></asp:ScriptManager> <table> <tr> <td> <asp:Label runat="server" ID="lbl1">Select something</asp:Label> </td> <td> <telerik:RadComboBox EmptyMessage="Select a person..." runat="server" ID="cbPersons" AllowCustomText="true" EnableLoadOnDemand="true"> <WebServiceSettings Method="GetPersons" Path="~/SampleWebService.asmx" /> </telerik:RadComboBox> <asp:CustomValidator runat="server" ID="customValrPerson" ValidationGroup="Sample" ControlToValidate="cbPersons" ErrorMessage="Required" ClientValidationFunction="validatePerson"></asp:CustomValidator> </td> </tr> <tr> <td colspan="2"> <asp:LinkButton runat="server" ID="lnkSubmit" ValidationGroup="Sample" CausesValidation="true">Submit</asp:LinkButton> </td> </tr> </table> </div> </form></body></html><%@ WebService Language="C#" Class="SampleWebService" %>using System;using System.Web;using System.Web.Services;using System.Web.Services.Protocols;using System.Web.Script.Services;using Telerik.Web.UI;[WebService(Namespace = "http://tempuri.org/")][WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)][ScriptService]public class SampleWebService : System.Web.Services.WebService { static string[] persons = { "Person Number 1", "Person Number 2", "Person Number 3", "Person Number 4", "Person Number 5" }; [WebMethod] public RadComboBoxItemData[] GetPersons(RadComboBoxContext context) { RadComboBoxItemData[] result = null; result = new RadComboBoxItemData[persons.Length]; for (int i = 0; i < persons.Length; i++) { result[i] = new RadComboBoxItemData { Text = persons[i], Value = i.ToString() }; } return result; } }$find("<%=cbPersons.ClientID %>").get_value()Webpage error detailsUser Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.6; SLCC2;
.NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E;
BRI/2)Timestamp: Tue, 29 Mar 2011 22:25:34 UTCMessage: 'null' is null or not an objectLine: 162Char: 13Code: 0<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="PageLoaded"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="Label1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings></telerik:RadAjaxManager>protected override void OnLoad(EventArgs e) { base.OnLoad(e); RadAjaxManager ajaxManager = RadAjaxManager.GetCurrent(this.Page); if (ajaxManager == null) { ajaxManager = new RadAjaxManager(); ajaxManager.ID = "RadAjaxManager1"; Controls.Add(ajaxManager); this.Page.Items.Add(typeof(RadAjaxManager), ajaxManager); } }protected void PageLoaded(object sender, Telerik.Web.UI.AjaxRequestEventArgs e) { if(e.Argument=="DocumentReady") DisplayDates(new DateTime(radCal.FocusedDate.Year, radCal.FocusedDate.Month, 1), new DateTime(radCal.FocusedDate.Year, radCal.FocusedDate.Month, DateTime.DaysInMonth(radCal.FocusedDate.Year, radCal.FocusedDate.Month))); }$(document).ready(function () { var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>"); ajaxManager.ajaxRequest("DocumentReady");//THIS IS WHERE THE ERROR OCCURS }