Telerik Forums
Kendo UI for jQuery Forum
1 answer
1.1K+ views

Hi, 

     I need to know if there is a way to export to PDF from the server side without losing the data sources features.

    I need to take this functionality to the server because on the client side it has a low performance



Regards.



 

Stefan
Telerik team
 answered on 29 May 2018
1 answer
121 views

Hi!

My chart has two ValueAxes. There are two problems.

1. When taking a positive value, I want to set 0 as the starting point of the axis.

    But that is not possible.

    I set narrowRange to true, but it still did not work properly. How can I start from 0?

2. When taking a negative value, we want to align the 0 positions of the two ValueAxes horizontally, but I can not.

    Is there a way?

https://dojo.telerik.com/UhIkUwif

 

Stefan
Telerik team
 answered on 29 May 2018
1 answer
249 views

Hi,

I tried the examples from your site, just by replacing the directlinekey for the microsoft chatbot with my own key.

At first sight, everything seems to work just fine.

But the Kendo chat script throws exceptions when my bot sends it Thumbnail or Video cards.

 

ReferenceError: timestamp is not defined Stack trace: anonymous@https://kendo.cdn.telerik.com/2018.2.516/js/kendo.all.min.js line 25 > Function:3:66 _renderTemplate@https://kendo.cdn.telerik.com/2018.2.516/js/kendo.all.min.js:38:8446 renderAttachments@https://kendo.cdn.telerik.com/2018.2.516/js/kendo.all.min.js:38:7085 renderAttachments@https://kendo.cdn.telerik.com/2018.2.516/js/kendo.all.min.js:38:13896 renderAttachments@https://runner.telerik.io/result:80:7 onResponse@https://runner.telerik.io/result:67:7 d@https://code.jquery.com/jquery-1.12.4.min.js:2:3854 h</e.prototype.__tryOrUnsub@https://unpkg.com/botframework-directlinejs/directLine.js:1:5125 h</e.prototype.next@https://unpkg.com/botframework-directlinejs/directLine.js:1:4400 a</e.prototype._next@https://unpkg.com/botframework-directlinejs/directLine.js:1:3442 a</e.prototype.next@https://unpkg.com/botframework-directlinejs/directLine.js:1:3125 a</e.prototype._next@https://unpkg.com/botframework-directlinejs/directLine.js:1:3442 a</e.prototype.next@https://unpkg.com/botframework-directlinejs/directLine.js:1:3125 p</e.prototype.next@https://unpkg.com/botframework-directlinejs/directLine.js:1:9074 a</e.prototype._next@https://unpkg.com/botframework-directlinejs/directLine.js:1:3442 a</e.prototype.next@https://unpkg.com/botframework-directlinejs/directLine.js:1:3125 u</e.prototype.notifyNext@https://unpkg.com/botframework-directlinejs/directLine.js:2:23811 i</e.prototype._next@https://unpkg.com/botframework-directlinejs/directLine.js:1:29450 a</e.prototype.next@https://unpkg.com/botframework-directlinejs/directLine.js:1:3125 n@https://unpkg.com/botframework-directlinejs/directLine.js:1:11531 u</e.prototype._innerSub@https://unpkg.com/botframework-directlinejs/directLine.js:2:23554 u</e.prototype._tryNext@https://unpkg.com/botframework-directlinejs/directLine.js:2:23484 u</e.prototype._next@https://unpkg.com/botframework-directlinejs/directLine.js:2:23307 a</e.prototype.next@https://unpkg.com/botframework-directlinejs/directLine.js:1:3125 u</e.prototype.notifyNext@https://unpkg.com/botframework-directlinejs/directLine.js:2:23811 i</e.prototype._next@https://unpkg.com/botframework-directlinejs/directLine.js:1:29450 a</e.prototype.next@https://unpkg.com/botframework-directlinejs/directLine.js:1:3125 a</e.prototype._next@https://unpkg.com/botframework-directlinejs/directLine.js:1:3442 a</e.prototype.next@https://unpkg.com/botframework-directlinejs/directLine.js:1:3125 d</t.prototype.observableWebSocket/</n.onmessage@https://unpkg.com/botframework-directlinejs/directLine.js:1:27613

 

Does this mean only Hero cards are supported?

 

Bozhidar
Telerik team
 answered on 29 May 2018
1 answer
1.5K+ views

I am getting the maximum call stack exceeded error when trying to use the kendo tree view.  I have confirmed the hierarchical data does not contain a circular reference. I can avoid the error on each browser based on limiting the depth of the tree, but would prefer not to.  Here is a dojo example showcasing the error.  You can see that I am using the latest version of kendo as of this writing.  Thanks in advance!

https://dojo.telerik.com/ATABImAm

 

Dimitar
Telerik team
 answered on 28 May 2018
1 answer
2.8K+ views
Hello,

which are the differences between using "Data:" or "parameterMap:" in sending parameters to web service?
And how to use "parameterMap"? What is the "options" parameter I see in many examples? Where does it come from?

Could someone provide a ful explained example?

Thank You
Ivan Danchev
Telerik team
 answered on 28 May 2018
7 answers
452 views

I'm working on a large grid (dozens of columns, thousands of rows). The grid is loading the entire dataset on the client (serveroperation = false) and using virtual scrolling.

 

We are allowing users to save multiple states which are persisted in a database and selected with a dropdown menu. The dropdown initiates an ajax call which gets the options (in json) from the database and applies it to the grid.

 

I would like to have the settings applied without reloading the data from the client. I have tried creating a handler for onDataBinding but it doesn't work. What is the best way to accomplish this?

 

Also, is there an easy way to reset all of the settings including re-ordering all the columns back to their original position. I found a function to do this on the web, but it takes 30 seconds for the number of columns we have which is unacceptable.

 

 

Stefan
Telerik team
 answered on 25 May 2018
3 answers
319 views

Hello,

First of all thank you for implementing this control!

I'm doing some tests to see how it works, etc. and I'm facing the next issue. I think right now the control is lacking some kind of natural behavior. Maybe not everyone may want this, but I think some of us would like to have the feeling that we're talking somehow to a person instead of a bot.

I've modified your code in the demos for the function renderMessages to give it a more natural feeling:

 

renderMessages: function (messages) {
   var that = this;
   var msg = messages;
   function renderWithDelay() {
      var message = msg[0];
      switch (message.type) {
          case 0:
               that.chat.renderMessage({ type: "text", text: message.speech, timestamp: that._timestamp }, that.userInfo);
               break;
          case 2:
               that.renderSuggestedActions(message.replies.map(function (reply) { return { title: reply, value: reply }; }));
               break;
          default:
      }
      msg.splice(0, 1);
      if (msg.length > 0) {
         var newMessage = msg[0];
         if (message.type == 0) setTimeout(renderWithDelay, newMessage.speech.length * 12);
         else renderWithDelay();
      }
   }
   renderWithDelay();
}

 

However to really achieve this natural feeling when talking to the bot, I think it would be really useful to have an option, that could accept a boolean or JSON object, that would work as follows:

a) If it is a boolean and it is true, on the delay it will show a bubble saying that "Bot name is typing..."

b) If it is a JSON object, would work as if true, and let the user enter the message to appear in the bubble 

 

Thank you!

Bozhidar
Telerik team
 answered on 25 May 2018
1 answer
106 views
Hi,
I'm using a custom view for my scheduler. I'm tried to reduce the height of each cell using css but its not working is there a way to reduce the height

Ivan Danchev
Telerik team
 answered on 25 May 2018
3 answers
311 views

Hi,

I'm trying to reduce the cell width in the scheduler and also change the weekend highlight which is by default from Saturday to Sunday and change it to Friday to Saturday .
Is there any CSS hack for this requirement?

Thanks 

Ivan Danchev
Telerik team
 answered on 25 May 2018
1 answer
3.9K+ views

Hello, 

I have a case with kendo grid, can i mapping array of array in kendo grid column?

Thank you

 

*image capture.png for UI and image capture1.png for data

Stefan
Telerik team
 answered on 25 May 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?