
Hello
I have a radEditor for which I need to provide relative paths for its various CSS files.
For example:
<CssFiles>
<trk:EditorCssFile Value="stylesheets/EditorContentArea.css" />
</CssFiles>
where the 'stylesheets' folder would be a subfolder in the same folder as the markup and code files.
But the relative path doesn't work, whereas using an absolute path is successful, e.g., this path does find the CSS file in question:
<CssFiles>
<trk:EditorCssFile Value="~/[path_to_my_stylesheets]/EditorContentArea.css"
</CssFiles>
What could be occurring here? Is the a behaviour that can be configured and changed somehow to enable the use of a relative path. Possibly at the time of processing, the relative path is being determined from a different location to that of the markup file?
If anyone can point me in the right direction it would be very greatly appreciated!
Regards


<telerik:radDateInput ID="DateInput2" runat="server" DisplayDateFormat="MMM yyyy" DateFormat="MM/yy">
</telerik:radDateInput><script type="text/javascript">
function OnClientLoad(editor, args) {
editor.attachEventHandler("onkeydown", function(e) {
setTimeout(function() {
var length = $find("<%=RadEditor1.ClientID %>");
}, 0);
});
editor.attachEventHandler("onpaste", function(e) {
setTimeout(function() {
var length = $find("<%=RadEditor1.ClientID %>");
}, 0);
});
}
</telerik:RadEditor>
onkeydown is working fine but onpaste not working.
Any idea?
Thanks in Advance
Rehan

protected void btnAdd_Click(object sender, EventArgs e){ foreach (RadListBoxItem li in lbSnSelected.Items) { foreach (GridDataItem gi in rgDefects.Items) { if ((gi.OwnerTableView.ParentItem as GridDataItem).GetDataKeyValue("SERIAL_NBR").ToString() == li.Value) { GridTableView tv = (GridTableView)gi.ChildItem.NestedTableViews[0]; //Need to insert using Grid Item but not sure how to create and fill grid item object from //Details table //tv.InsertItem(ddTest.SelectedItem.Text, ddTest.SelectedValue, ddRefDes.SelectedValue, // ddDefect.SelectedItem.Text, ddDefect.SelectedValue, rddTech.SelectedValue, DateTime.Now); //tv.Rebind(); } } }}<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" ClientIDMode="Static" RequestQueueSize="1" OnAjaxRequest="RadAjaxManager1_AjaxRequest"> <ClientEvents OnRequestStart="requestStart" /> </telerik:RadAjaxManager><asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server"> <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> </telerik:RadAjaxManagerProxy> <telerik:RadCodeBlock runat="server"> <script type="text/javascript"> // Ajax Request function CallJSFileInitAjaxRequestFromButtonPress() { // alert('Start Request'); initAjaxRequest("Pressed"); // alert('End Request'); }function initAjaxRequest(RequestType){ $find("RadAjaxManager1").ajaxRequest(RequestType);} </script> </telerik:RadCodeBlock> <telerik:RadButton ID="RadButton1" runat="server" Text="Click Me" OnClientClicking="CallJSFileInitAjaxRequestFromButtonPress"> </telerik:RadButton> <asp:Label ID="lblUpdate" runat="server" Text="Loaded..."></asp:Label></asp:Content>Telerik.Web.UI.RadAjaxManager myManager;myManager = (Telerik.Web.UI.RadAjaxManager)Page.Master.FindControl("RadAjaxManager1");myManager.AjaxSettings.AddAjaxSetting(Page.Master.FindControl("RadAjaxManager1"), Page.Master.FindControl("MainContent").FindControl ("lblUpdate"));