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

Hi, I'm trying to fill a htmlChart.

It's a ColumnSeries stacked = true;

 

I wanna set a custom tooltip with many information (add some attribute to seriesItem ?).

 

Could you help me ?

Thanks

Marin Bratanov
Telerik team
 answered on 20 May 2016
1 answer
88 views

Hi. I can't figure this one out.

I recently upgraded to Ajax UI 2016.2.504.45 specifically so I could make use of the new Multiple Pointers feature. I updated my controls and code to add multiple pointers dynamically, rather than just setting the value of the single pointer dynamically. And this works great. 

My issue is that after postback the gauge loads and my pointers have been removed. However the Scale ranges that I am adding dynamically are retained and correct. 

I run a number of intense calculations on a button click which populates the RadLinearGauge with pointers, I don't want to have to run this on every postback just to ensure that the pointers are present. The only thing I can think is that this is a bug in the RadLinearGauge.

Reproducible Example: 

HTML

01.<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>
02. 
03.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
04. 
06.<head runat="server">
07.    <title></title>
08.    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
09.</head>
10.<body>
11.    <form id="form1" runat="server">
12.        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
13.            <Scripts>
14.                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
15.                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
16.                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
17.            </Scripts>
18.        </telerik:RadScriptManager>
19.        <script type="text/javascript">
20.            //Put your JavaScript code here.
21.        </script>
22.        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
23.        </telerik:RadAjaxManager>
24.        <div>
25.            <telerik:RadLinearGauge ID="SealingValue" runat="server" Width="410px">
26.                <Scale Vertical="false" MajorUnit="50" />
27.            </telerik:RadLinearGauge>
28.        </div>
29.        <div>
30.            <asp:Button ID="btnPostBack" runat="server" OnClick="btnPostBack_Click" Text="Postback" />
31.        </div>
32.    </form>
33.</body>
34.</html>

C#
01.using System;
02.using System.Web;
03.using System.Web.UI;
04.using System.Web.UI.WebControls;
05.using System.Data;
06.using System.Configuration;
07.using System.Web.Security;
08.using System.Web.UI.WebControls.WebParts;
09.using System.Web.UI.HtmlControls;
10.using Telerik.Web.UI;
11. 
12.public partial class Default : System.Web.UI.Page
13.{
14.    protected void Page_Load(object sender, EventArgs e)
15.    {
16.        if (!Page.IsPostBack)
17.        {
18.            GaugeRange range1 = new GaugeRange();
19.            range1.From = 0;
20.            range1.To = 25;
21.            range1.Color = System.Drawing.Color.FromName("Green");
22. 
23.            GaugeRange range2 = new GaugeRange();
24.            range2.From = 25;
25.            range2.To = 75;
26.            range2.Color = System.Drawing.Color.FromName("Blue");
27. 
28.            GaugeRange range3 = new GaugeRange();
29.            range3.From = 75;
30.            range3.To = 100;
31.            range3.Color = System.Drawing.Color.FromName("Yellow");
32. 
33.            SealingValue.Scale.Ranges.Add(range1);
34.            SealingValue.Scale.Ranges.Add(range2);
35.            SealingValue.Scale.Ranges.Add(range3);
36. 
37.            LinearPointer pointer1 = new LinearPointer();
38. 
39.            pointer1.Value = 30;
40.            pointer1.Shape = Telerik.Web.UI.Gauge.PointerShape.Arrow;
41.            pointer1.Size = 13;
42.            pointer1.Color = System.Drawing.Color.FromName("White");
43. 
44.            LinearPointer pointer2 = new LinearPointer();
45. 
46.            pointer2.Value = 90;
47.            pointer2.Shape = Telerik.Web.UI.Gauge.PointerShape.Arrow;
48.            pointer2.Size = 13;
49.            pointer2.Color = System.Drawing.Color.FromName("Red");
50. 
51.            SealingValue.Pointers.Add(pointer1);
52.            SealingValue.Pointers.Add(pointer2);
53.        }
54.    }
55. 
56.    protected void btnPostBack_Click(object sender, EventArgs e)
57.    {
58.         
59.    }
60.}

Marin Bratanov
Telerik team
 answered on 20 May 2016
4 answers
216 views

Good Morning,

I have a problem with the page rendering when i use Default Theme in Internet Explorer 11.

When i choose other theme the page works correctly.

Please Help Me

 

Telerik Dll Version 2016.2.504.45

Vessy
Telerik team
 answered on 20 May 2016
1 answer
104 views

Hello,

I have a few RadHtmlChart's rendered on my page. Each has a dynamic PlotBand setting to highlight the target on each chart. I can control the alpha setting on these PlotBands, but I can't seem to do so on the actual series itself...

I want the area representing the data to have a 0 alpha setting as to not show what's behind it.

Any thoughts?

 

Thanks!

Marin Bratanov
Telerik team
 answered on 20 May 2016
6 answers
527 views

Is there any way top have the new print button create the PDF in landscape?

Thanks

Viktor Tachev
Telerik team
 answered on 20 May 2016
1 answer
65 views

Hi Team,

We had created a dynamic radgrid with auto-generated columns and binding it to a dynamic datatable at code behind. We also have horizontal scrollbar for moving the column. Radgrid behave normally when we have less number of column but when we have more than 50 columns it start showing lagging in UI and horizontal scrollbar move very slowly as well as whole grid rendering is slow on page load.

could you please help identifying the cause for this? please do let me know if more information is needed.

 

Viktor Tachev
Telerik team
 answered on 20 May 2016
1 answer
104 views

Hi Team,

We have a dynamic radgrid with dynamic number of columns, which are created by binding a datatable to radgrid in code behind file. Also we have a horizontal scrollbar for moving column. Radgrid behaves ok when the auto generated column are less but when we have more than 50 column it start showing lagging in UI like horizontal scrollbar moves very slow and overall grid renders very slow on page load.

Please do let us know what can be causing this. also do let us know if you required more information.

 

Viktor Tachev
Telerik team
 answered on 20 May 2016
1 answer
115 views

We have radgrids with edit templates. In some cases, two different radgrids display records from the same database table. In these cases, the records are editable from either radgrid, so we’re made a user control and placed it in the radgrid’s edit template form. We would also like to display a radalert box if a field if left blank, or contains any other invalid data, and this is where the problem starts.

If the command name of the submit button, located in the user control, is set to “update”, it causes the radgrid’s UpdateCommand event to fire, in the main aspx page. And this event apparently fires before the submit button’s click event fires, and since the radgrid’s UpdateCommand event handler closes the edit template, any attempt to display a radalert from the submit button’s click event fails.

The obvious fix is to not set the command name=update property of the submit button, right? Well, maybe, but if we do that, then the edit template never closes, even after a successful record update. We could try to close the edit template “manually” from the user control’s submit button click event, but we’ve been unable to do that so far, and it’s probably bad design to do anyway.

So, my question is this: What do you recommend as a strategy for “reusing” an edit template between multiple radgrids if you can’t use user controls?

(IIS 7.5, Windows Server 2012, VS 2012, C#, ASP.NET, Telerik runtime version 4.0.30319, IE11, Firefox 45.0)

Eyup
Telerik team
 answered on 20 May 2016
2 answers
103 views

Hi,

We are using the Telerik version 2013.2.717.35.

We need it-IT. file of this versions.

 

Also found that this file in  http://www.telerik.com/forums/147971-radspell-dictionaries.Is this the same file can be used for the version 2013.2.717.35?

Thanks

Kesava.

Kesava
Top achievements
Rank 1
 answered on 20 May 2016
1 answer
66 views

I want to know how to update my DetailTables after closing a radwindow .

 

Marin Bratanov
Telerik team
 answered on 20 May 2016
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?