Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
224 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
121 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
740 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
69 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
239 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
105 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.4K+ 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
189 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
367 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
1 answer
310 views

I am trying to format the numeric text box so that it allows up to 8 decimal places and will not show trailing 0's. However this is a currency field and we would only like to show trailing 0's for the first two decimal places ( 20.00 we want instead of 20). I cannot seem to satisfy all of these requirements with the numeric text box control. This is what I have.

<telerik:RadNumericTextBox runat="server" EnabledStyle-HorizontalAlign="Right" ID="rtbPrice" NumberFormat-AllowRounding="False" NumberFormat-DecimalDigits="8" />​

 This will remove trailing 0's but will leave 20.00 showing as 20. Is there a way to do this?

Viktor Tachev
Telerik team
 answered on 30 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?