Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
152 views

I've been attempting to use RadHTMLChart and have a few questions: 

  1. Is there any way to trigger some behaviour when a user clicks on text in the X axis? Ideally a postback telling me which value was clicked so I can then display more detail on it. 
  2. When using a percent stacked bar chart, it can be very difficult to read small percent values if one item is at 90% or something like that. However, if I use the legend to hide the one value then all the percentages change so that the currently displayed items all add up to 100%. Is there any way to keep the original percentages?
  3. Through testing we've discovered various characters that can't be used in the label/value fields, such as an apostrophe. Is there a list of these anywhere? 

Thanks in advance.

Doncho
Telerik team
 answered on 12 Jun 2023
0 answers
122 views

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.

     

Vitaly
Top achievements
Rank 1
Iron
Iron
 asked on 12 Jun 2023
1 answer
111 views

Happens when upgrading to 2023.2.606

What can I do about this one?

 

Marc

Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 12 Jun 2023
0 answers
102 views

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();
                });
        }
and here is how I handle the parameter mapping event:
   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);
        }
    }

Mike
Top achievements
Rank 1
 asked on 11 Jun 2023
0 answers
112 views

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?

 

Russell
Top achievements
Rank 1
 asked on 06 Jun 2023
0 answers
238 views

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?

Hudson
Top achievements
Rank 1
 asked on 05 Jun 2023
8 answers
1.2K+ views
Hello telerik,

I am getting an error on every page wherever i have used rad controls.In fact my project has completely stopped working due to these errors:
Before it was working fine. The error is:
​Sys.WebForms.PageRequestManagerServerErrorException:
Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON
primitive:
{"enabled":true,"emptyMessage":"","validationText":"","valueAsString":"","minValue":0,"maxValue":70368744177664,"lastSetTextBoxValue":""}.

Please tell me the  solution for this so that i can fix it and work on my project asap 
Joseph
Top achievements
Rank 1
Iron
 answered on 01 Jun 2023
0 answers
112 views

Hello,

is it possible to show the Marker Tooltips initially (code behind)?

i didnt find any example.

 

 

 

Manuel
Top achievements
Rank 1
 asked on 01 Jun 2023
0 answers
160 views

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?

 

anuj
Top achievements
Rank 1
 asked on 01 Jun 2023
0 answers
111 views

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?

 

Mike
Top achievements
Rank 1
 asked on 30 May 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?