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

Hi All,

I have a crazy behaviour on my RadHtmlChart. It has a DataSource coming from a stored procedure. This procedure accepts two parameters provided by RadDropDowns (@DateID and @Group).

I choose a @DateID from DropDown 1 , a @Group from DropDown2 and Invoke the Databind by clicking the Filter Button. Hence the RadHtmlChart gets the Data from the stored Procedure and renders Columns as expected. Furthermore a RadGrid is included to display the same data from the DataSource. (Image V1)

However, if the parameter @Group includes an item starting with letter 'U', the RadChart is not rendered and even blocks others from showing.(Image V2)

I really tried out everything, but RadChart is not rendered correctly whenever any item with an 'U' is included.

AnyOne any idea what the reason for this crazy behaviour might be?

 


 
Danail Vasilev
Telerik team
 answered on 31 Jul 2015
5 answers
208 views
I have a radgrid with a sql datasource hooked to it. I set the datakeynames = the identifier value of the sql datasource. I have multiselect set on the grid but when I select multiple columns the selectedvalues only shows the last one selected. I need all of the keys selected.
Eyup
Telerik team
 answered on 31 Jul 2015
3 answers
107 views

Adding

cem.set_pdfSettings({ fileName: "xxxx.pdf" });

To the export function stops the multi page only the first page is exported 

 

 

Aneliya Petkova
Telerik team
 answered on 31 Jul 2015
6 answers
711 views
I am working with Radcombobox in vb.net. The checkboxes in  the Radcombobox are not aligned properly with the text of the combobox
Here is my code. I am also using IE 8. Please help
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="testme.aspx.vb" Inherits="testme" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <style type="text/css">
        .rcbHeader ul, .rcbFooter ul, .rcbItem ul, .rcbHovered ul, .rcbDisabled ul
        {
            display: inline-block;
            margin: 0;
            padding: 0;
            list-style-type: none;
        }
          
        .col1, .col2, .col3
        {
            float: left;
            width: 30px;
            margin: 0;
            padding: 0 5px 0 0;
            line-height: 14px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableTheming="True">
    </telerik:RadScriptManager>
    <div>
        <telerik:RadComboBox ID="RadComboBox1" runat="server" Width="220px" EnableCheckAllItemsCheckBox="true"
            CheckBoxes="true" DropDownWidth="500px">
            <ItemTemplate>
                <ul>
                    <li class="col1" style="width: 420px">
                        <%# DataBinder.Eval(Container.DataItem, "Customer")%></li>
                    <li class="col2">
                        <%# If(DataBinder.Eval(Container.DataItem, "hasJOnly"), "J", "")%><%# If(DataBinder.Eval(Container.DataItem, "hasJM"), "JM", "")%><%# If(DataBinder.Eval(Container.DataItem, "hasJOnly")=False and DataBinder.Eval(Container.DataItem, "hasJM")=false, "N/A", "")%></li>
                </ul>
            </ItemTemplate>
            <Items>
            </Items>
        </telerik:RadComboBox>
    </div>
    </form>
</body>
</html>
Hristo Valyavicharski
Telerik team
 answered on 31 Jul 2015
1 answer
53 views

Greetings,

 I've already filed a bug report about this here a couple of weeks ago but no one replied.

Please read the details in the report.

Dimitar
Telerik team
 answered on 31 Jul 2015
5 answers
196 views

Hello,
I have come across a problem with the editor.

We have recently upgraded the telerik controls from V 2013 to V 2015.2.623.45. 

After upgrade new version that some functionality are messed up.​

Steps to reproduce the issue.

1 - Add below content HTML mode.

<html>
    <head>
    </head>
    <body contenteditable="true">
        T<span style="color: #00b050;">esting New Message twetw&nbsp;</span><span style="color: #00b050; background-color: #c4bd97;">werwrwerwrwrwrwrwrwrwrw<sup>rwerwrww<sub>rwrwrwrwrwr</sub></sup><sub>rwerwrewrwr</sub></span>
        <p style="text-align: left;"><a name="Hello" href="http://www.bing.com" class="body">Hello</a><br />
        <br />
        </p>
        <img src="https://www.google.co.in/images/srpr/logo11w.png" alt="bb" style="display: block; width: 78px; height: 116px; border: 9px solid #ff0000;" height="116px" width="78px" />
        <p>&nbsp;</p>
        <p>&nbsp;</p>
        <p style="text-align: left;">&nbsp;</p>
        <p>&nbsp;</p>
        <p><img alt="" src="https://www.google.co.in/images/srpr/logo11w.png" style="height: 74px; width: 371px;" height="100px" width="100px" /><br />
        <br />
        <br />
        </p>
    </body>
</html>​

2 - Back to Design mode and set focus on Image

3 - Then go to HTML mode and back to Design mode. 

4 - All content are selected on Design mode in Editor.

 When move 3-4 time from Design to Html mode then getting script error "Uncaught TypeError: Cannot use 'in' operator to search for 'fontFamily' in undefined" as well.

This can easily be reproduced on your demo site as well(Chrome browser).

refer below link and find attached the image file for script error

http://screencast.com/t/Lb5FLNiBW5TZ

please give a quick reply with solution as this is blocker part of development.
Thanks.

Ianko
Telerik team
 answered on 31 Jul 2015
1 answer
95 views

Hi,

We are trying to set a custom EditItemTemplate in batch editing. We have a div and we want to put it above the edited cell. This code is working perfect in IE but it doesn't work fine in Chrome:

 

function batchEditOpened(sender, args) {
        var cell = args.get_cell();
        $cell = $(cell);
 
        var $batchContainer = $cell.find(".rgBatchContainer");
        $batchContainer.css("position", "absolute");
        $batchContainer.offset($cell.offset());
    }

Can you help us?

 

Thanks in advance,

 

Alfonso

 

Konstantin Dikov
Telerik team
 answered on 31 Jul 2015
2 answers
1.3K+ views

1. What I have is a Kendo TreeView control similar to the below structure.

-  Parent 1

      - Child 1 of Parent 1

      - Child 2 of Parent 1

- Parent 2

2. What I need is to trigger an event on Double click of any of the items ( items being : Parent 1,Child 1 of Parent 1,Child 2 of Parent 1,Parent 2)

3. There exists an event for single click, that is .Select(). But I don't seem to find one for double click. 

4. Question : Is there any way to trigger a double click event from the control itself, if not, what is the suggested alternate for the same?

Ashwijini
Top achievements
Rank 1
 answered on 31 Jul 2015
0 answers
155 views

var get​Cars () {
  var serviceUrl = "URL your services";
  var  paramData = {
   
  };

  var req = $.ajax({
    type: 'POST',
    url: serviceUrl,
    contentType: 'application/json; charset=utf-8',

    data: JSON.stringify(paramData ),
    dataType: 'Json',
  });
  req.then(
      function () {
        _console.log("Cars->get​Cars success") : null;
      },
      function () {
        console.log("Cars->getCars failed") : null;
      }
  );
  return req;
}

 

var loadCars = function () {
    var _cboYourControl = $telerik.findComboBox("_cboYourControl");
_cboYourControl .clearItems();
    var req = get​Cars();
    req.success(function (​cars) {
        for (var i = 0; i < ​cars.length; i++) {
            var ​car = ​cars[i];
            var comboItem = new Telerik.Web.UI.RadComboBoxItem();
            comboItem.set_text(​car.​Name);
            comboItem.set_value(car.ID);
            _cboYourControl .trackChanges();
            _cboYourControl .get_items().add(comboItem);
            _cboYourControl .commitChanges();

        }

    });
}

Cesar
Top achievements
Rank 1
 asked on 30 Jul 2015
0 answers
307 views

We have discovered a problem in the RadPivotGrid appearance in various scenarios in Q2 2015 SP1 release. The data content does not scroll correctly and the issue can be fixed with the following CSS rule

.RadPivotGrid .rpgContentZoneDiv {
    overflow: hidden;
}

 

Nevertheless, it will be included in the next internal build on 4th of August 2015 and upcoming SP2 release.​

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 30 Jul 2015
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?