I have a rad grid with toggle buttons if i select one i need the grid to be disabled and if i switch to another it needs to be enabled i am using onclientcheckedchanged event.
All other buttons are disabled apart from that, but not the whole grid, atleast i need the checkboxed in the grid to be disabled.
could you give me a solution.
Hello,
We have an application that is used by clients from different countries in multiple languages. The date and number formats have to be the same for all clients in a certain country, the language can be selected by the user.
This works well by specifying the Thread.CurrentThread.CurrentCulture for the date and number formats and the Thread.CurrentThread.CurrentUICulture for the culture of the user's language.
When formatting dates, the names of the days and months are taken from the CurrentCulture. To make sure these names match the UICulture, we copy the names from the UICulture to the Culture. This works fine in most situations (for example in the DateTime.Format() function).
The behaviour of the RadDatePicker and RadMonthYearPicker seems a bit off though. In the picker (popup) the day and month names are correctly taken from the culture as we set them. In the input field however, the original day and month names are used. This seems wrong to me. Are we doing something wrong, or is this a bug in how the date pickers use the culture settings?
var uiCulture = CultureInfo.CreateSpecificCulture("nl-NL");
var customCulture = CultureInfo.CreateSpecificCulture("en-US");
customCulture.DateTimeFormat.AbbreviatedDayNames = uiCulture.DateTimeFormat.AbbreviatedDayNames;
customCulture.DateTimeFormat.DayNames = uiCulture.DateTimeFormat.DayNames;
customCulture.DateTimeFormat.AbbreviatedMonthGenitiveNames = uiCulture.DateTimeFormat.AbbreviatedMonthNames;
customCulture.DateTimeFormat.AbbreviatedMonthNames = uiCulture.DateTimeFormat.AbbreviatedMonthNames;
customCulture.DateTimeFormat.MonthNames = uiCulture.DateTimeFormat.MonthNames;
customCulture.DateTimeFormat.MonthGenitiveNames = uiCulture.DateTimeFormat.MonthGenitiveNames;
customCulture.DateTimeFormat.ShortestDayNames = uiCulture.DateTimeFormat.ShortestDayNames;
Thread.CurrentThread.CurrentCulture = customCulture;
Thread.CurrentThread.CurrentUICulture = uiCulture;
The day and month names of the picker are localized, the input field is not.
Thanks for any suggestions,
Cloud9Software.
Hi,
I have several PDFViewer in different pages of my application, contained in div that can be collapsed.
Depending of the pages the div can be collapsed or not at loading of the page.
For the ones that are not collapsed, the PDFViewer scale is set to "Fit to Width" and the scaling is ok.
However, for the ones that are in collapsed div, the "Fit to Width" setting is not processed.
Attached is a project with the described behavior.
Is there a way to manage the scaling properly on collapsed PDFViewer ?

I'm using RadListBox as as RadTreeview in my page.
I'm binding data to RadTreeview with:
List<SiteDataItem> siteData = GetNotificationTree();
treeView.DataTextField = "Text";
treeView.DataFieldID = "ID";
treeView.DataFieldParentID = "ParentID";
treeView.DataSource = siteData;
treeView.DataBind();
Serverside I want to read the Value of the checked items. In Listbox that works with:
ListBox.CheckedItems.Select(_ => int.Parse(_.Value))
But in Treeview I'm not able to access the values e.g. with:
Treeview..CheckedNodes.Select(_ =>int.Parse(_.Value)). I'm only able to read the text property but not the value bound to the TreeView.

I've been attempting to use RadHTMLChart and have a few questions:
Thanks in advance.

Good morning,
i have page where top consist of a form and bottom consist of grid data. Grid data has 4 types of record:
'S' - saved record where when i click on the row in the grid top of the page is fill out and I may modify radnumerictextbox and set the max value of radnumerictexbox in code behind
'P' - pending record where when i click on the row in the grid top of the page is fill out and I cannot modify radnumerictextbox however the requested hours which i get from SP into the grid has to go to radnumericbox instead max value is going into box.
For example: from 'S' saved record i set max value to 100. After that when i click on ''P' record instead of going 200 hours(from SP) into radnumeric box it will show max value from 'S' saved record which is 100.
My question is: is there possibilty to initialize max value when i click on 'P' record to show me actually reguested hours instead of max value set manually from previous clicked even though requested hours is greater than max value. if not then what other option do i have?
Thanks so much for your help.
Vitaly.
Happens when upgrading to 2023.2.606
What can I do about this one?
Marc
I have a RadGrid that I want to bind totally on the client side. I used a RadClientDataSource and it populates nicely. I have many records, so I want to use custom paging and sorting so I am only pulling 5 records at a time. When I click on a row, I have it use an ajax call from jquery to get the VirtualItemCount and use set_virtualItemCount() to set property on RadGrid.
This all seems to work okay. But when I click on a sort column or a pager item, it blanks the whole grid. What events handler can I implement on client side to handle the sort event and the PageIndexChanged event? Here is my how I am handling the row clicked event:
function rowClick(sender, eventArgs) {
var nodeid = eventArgs._dataKeyValues["NodeId"];
var masterTable = sender.get_masterTableView();
var url = "/myservice.asmx/GetRowCount";
var params = JSON.stringify({ NodeId: nodeid });
$.ajax({
method: "POST",
url: url,
data: params,
dataType: "json",
contentType: "application/json; charset=utf-8",
})
.done(function (msg) {
masterTable.set_virtualItemCount(msg.d);
window.nodeId=nodeid;
masterTable.rebind();
});
} function ParameterMap(sender, args) {
if (args.get_type() == "read" && args.get_data()) {
var skip = window.pageSize * window.pageIndex;
var take = window.pageSize;
var params = { NodeId: window.nodeId, Skip: skip, Take: take, SortExpression: window.sort};
var paramstr = JSON.stringify(params);
args.set_parameterFormat(paramstr);
}
}The page starts without the element on it, but through another action everything in the image below will show up on the page. Once the element is populated on the page, something isn't calculated correctly in terms of the dropdown list location - the yellow highlighted area just under the "Record Types" widget is where I expect the list to be. In particular, class rddtSlide top property is what is miscalculated. What calculates this position? And how can I get it to calculate properly once it shows up on the page?
I am getting the following error when using RadMultiSelect with over 13000 records:
Error InnerException Message: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
Error InnerException StackTrace: at System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj, StringBuilder output, SerializationFormat serializationFormat)
at Telerik.Web.UI.AdvancedJavaScriptSerializer.Serialize(Object obj)
at Telerik.Web.UI.RadMultiSelect.DescribeItems(IScriptDescriptor descriptor)
at Telerik.Web.UI.RadMultiSelect.DescribeComponent(IScriptDescriptor descriptor)
at Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control)
at Telerik.Web.UI.RadDataBoundControl.GetScriptDescriptors()
at System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl)
at Telerik.Web.UI.RadDataBoundControl.RegisterScriptDescriptors()
at Telerik.Web.UI.RadDataBoundControl.Render(HtmlTextWriter writer)
at Telerik.Web.UI.RadMultiSelect.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
I already have <jsonSerialization maxJsonLength="2147483647"> in my web.config but still errors out.
Telerik.Web.UI Version: 2022.2.622.45
Seems similar to this issue: https://www.telerik.com/forums/maxjsonlength-exceeded-in-radmap
But updating to higher version than 2020 didn't seem to solve it. Was the fix only for RadMap?