<telerik:RadODataDataSource runat="server" ID="RadODataDataSource1" EnablePaging="True" EnableSorting="True" EnableFiltering="True"> <Transport> <Read Url="http://localhost/DataService/" DataType="JSONP"></Read> </Transport> <Schema> <telerik:DataModel ModelID="Country" Set="CustomCountries"> <telerik:DataModelField FieldName="Name"></telerik:DataModelField> <telerik:DataModelField FieldName="ISOCountryCode"></telerik:DataModelField> </telerik:DataModel> </Schema></telerik:RadODataDataSource><telerik:RadComboBox runat="server" ID="RadComboBox1" ODataDataSourceID="RadODataDataSource1" Filter="Contains" DataModelID="Country" DataTextField="Name" DataValueField="ISOCountryCode" EnableLoadOnDemand="True" MaxHeight="200"></telerik:RadComboBox>Hi,
I am getting an javascript error message on client side when loading HTML into the Content property of the RadEditor control:
textEditor.Content = "<html xmlns="http://www.w3.org/1999/xhtml"><head><title></title></head><body><p><span>qdwqwdwqd</span></p></body></html>";
The error I am getting is a popup saying:
Error! Set EditorContentAreaMode to Iframe if you want to edit full page HTML!
The editor control is defined in the asp.net user control markup as :
<rade:SPRadEditor RenderMode="Classic" ID="textEditor" Runat="server" EditModes="Design" Language="nb-NO" OnClientLoad="editorLoad" OnClientSubmit="OnClientSubmit" ContentAreaMode="Iframe"></rade:SPRadEditor>
I have also checked while debugging that the ContentAreaMode is set to Iframe while debugging.
The content is set in the editor, so that is fine. I just need to get rid of the error popup message.
Does anyone know how to either configure the editor to fix this or if it is possible to supress the error message in any way?
Best regards,
Geir Morten Hagen
Hello,
I display GridDateTimeColumns in localized format on the grid but I need the filter expression for the GridDateTimeColumn to be in US date time format because datetimes in my database or stored in this format. I use the grid.MasterTableView.FilterExpression (in SQL format with EnableLinqExpressions false) in NeedDataSource to filter data in the database with the applied filters. The format of the filter expression is in the culture of the user's browser rather than the US date format. How can I change the filter expression date format?
Thank you.
Does radgrid have the capability of "clientside" filtering? Where it does the filter on the "grid" data itself (clientside) and then return the row accordingly? What I mean is rather then come back to the server and redo a SQL query, the filter will just search all data on the grid (all columns) on the client side and display the rows that matches.
Thank you!
Hi,
I have created the application with Radtreelist control. I have used datagrid as one of the template column.
In radtreelist, i have one asp:checkbox, and the datagrid has one checkbox. My requirement is when i click on the checkbox in the radtreelist, it automatically should select the checkbox in the datagrid. Am using javascript, but it throwing error in find element. Please assist me.
function Checked(btn, e) {
var radgrid = $find("<%= RadBOMTreeList.ClientID %>");
var row = radgrid.get_dataItems();
for (var i = 0; i < row.length; i++) {
var Rows = row[i];
var chk = radgrid.getContainerItem("chkItemNoBOM");
var grdDrawings = Rows.findElement("grdDrawings");
//Get all input elements in Gridview
var inputList = grdDrawings.getElementsByTagName("input");
for (var j = 0; j < inputList.length; j++) {
if (chk.checked == true) {
if (inputList[j].type == "checkbox") {
chk.checked = true;
inputList[j].checked = true;
}
}
else {
chk.checked = false;
inputList[j].checked = false;
}
}
}
}
Keeps saying time after time it is a bit old, even after installing new version.
See screenshot.
Marc
We have a project using 2 RadListBoxes to transfer items each other as below. when we double-click an item in one list, the item will be transferred to another list. That works very well. But in server side asp.net code, the number of items in each box is not correct. I tried to create an event handler for OnClientDoubleClicking and OnClientDoubleClicked to track and commit the changes. But it is still the same error. Can someone help on this? Thanks.
<p><telerik:RadListBox runat="server" ID="rlbUnselectedStatus" AutoPostBackOnTransfer="false"<br> AllowTransfer="true" AllowTransferOnDoubleClick="true" TransferToID="rlbSelectedStatus"<br> DataTextField="StatusName" DataValueField="StatusId" CausesValidation="false"<br> SelectionMode="Multiple" Height="120px" Width="240px" TabIndex="1" /></p><p><br> <telerik:RadListBox runat="server" ID="rlbSelectedStatus" AutoPostBackOnTransfer="false"<br> AllowTransfer="true" AllowTransferOnDoubleClick="true" TransferToID="rlbUnselectedStatus"<br> DataTextField="StatusName" DataValueField="StatusId" CausesValidation="false" <br> SelectionMode="Multiple" Height="120px" Width="210px" TabIndex="1" /></p>
I am using version Telerik.Web.UI 2016.2.607.45
I have downloaded the patch SecurityPatch_2016_2_607.zip from https://www.telerik.com/account/product-download?product=RCAJAX
When I replaced the references form the old Telerik.Web.UI to the newly patched dll I get the following error compiling the project.
'Could not load file or assembly 'Telerik.Web.UI, Version=2016.1.225.45, Culture=neutral, PublicKeyToken=' xxxx' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) 'D:\......LC'
This appears to be in my license Telerik.Web.UI.RadGrid, Telerik.Web.UI, Version=2016.1.225.45. I did not renew my subscription in 2016 but purchased the license 2015