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?
Hello,
is it possible to show the Marker Tooltips initially (code behind)?
i didnt find any example.
I have a large dataset of employees.
I want to load one node initially and all other node collapsed and load other node on demand.
But this control is loading complete data on page load which is making it slow.
is there any way to rebind the org chart on expand and bind all child nodes?
RadEditor is closing the source element that is nested inside the video element . For example, in the attached screen shots show the “source” element which we add it to Rich text field. After we save the Rich Text field and open it again, we see the source element is closed. Is there a configuration setting that would allow us to bypass the closure of the source element?
Hi,
I'm getting the following exception multiple time throughout the application in error log. It's very difficult to identify the exact reason for exception occurrence as the application is vast to debug in depth. Also, I'm using Telerik Control as well as Telerik Reporting in multiple place in the application. The version of Telerik.Web.UI which I am currently using is 2023.1.323.45
EXCEPTION URL :
https://adba.roc-p.com:443/Telerik.Web.UI.WebResource.axd?type=rau
EXCEPTION MESSAGE :
System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) at System.IO.Path.GetExtension(String path) at Telerik.Web.UI.AsyncUploadHandler.ProcessUploadedFile() at Telerik.Web.UI.HandlerRouter.ProcessHandler(String handlerKey, HttpContext context) at Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
NOTE :
I have already visited multiple forum in which it is mentioned that this issue occurs in the previous version of the Telerik.Web.UI. Please confirm whether the exception mentioned above still exist in the version of Telerik.Web.UI which I am currently using i.e. 2023.1.323.45. And If not then please provide the possible reason that we need to verify on our end.
RadProgressContext progress = RadProgressContext.Current;
progress.SecondaryValue = 1;
progress.SecondaryPercent = 1;
progress.SecondaryTotal = 100;
System.Threading.Thread.Sleep(3000);
progress.SecondaryValue = 50;
progress.SecondaryPercent = 50;
System.Threading.Thread.Sleep(3000);
//testing response
byte[] b = File.ReadAllBytes("c:\\image1.jpg");
Context.Response.ContentType = "image/jpg";
Response.AddHeader("content-disposition", "attachment; filename=image.jpg");
Response.BinaryWrite(b);
Response.End();