Telerik Forums
Kendo UI for jQuery Forum
1 answer
82 views
I'm looking for a way to use a gradient or a image instead of a color for the background of a bullet chart.  Something like the attached image.
Iliana Dyankova
Telerik team
 answered on 03 Oct 2013
3 answers
3.6K+ views
I'm trying to create a detail view for a grid but I can't seem to figure out how to display a string as HTML.
I've followed the demo http://demos.kendoui.com/web/grid/custom-command.html 

My view model contains a TaskText property, for example: 

<p><span style="font-size:medium;text-decoration:underline;"><strong>Fix these bugs:</strong></span></p><ol><li><span style="font-size:small;color:#a349a4;"><strong>Bug 1</strong></span></li><li><span style="font-size:small;color:#ed1c24;"><strong>Bug 2</strong></span></li></ol>

The script I use is defined below:
<script type="text/x-kendo-template" id="template">
    <div id="details-container">
        <h2>#= Title #</h3><br/>
        <h3><span>Task type: </span>#= TaskType #</h3>
        <h3><span>Added by: </span><strong> #= AddedByUserName # </strong>
<
time>#= kendo.toString(AddedOn, 'yyyy-MM-dd hh:mm') #</time></h3>
         #= TaskText # <br/>
        <h3><span>Assigned to: </span><strong>#= AssignedToListUserNames # </strong></h3>
    </div>
</script>
Using #= TaskText # doesn't help as you can see in the attached file. 

What seems to be the problem?
James
Top achievements
Rank 1
 answered on 02 Oct 2013
2 answers
106 views
I know this is going to sound strange, but I started seeing this in the last version, and I am seeing it also in 2013.2.918.commercial

I use the MetroBlack Theme, and for Grids (and also see my related note about DatePickers) I am seeing a white line as the border between columns for my Grid. This is only the case in Chrome v29. I am also attaching screen shots of the same app running in FireFox and IE11. They are displaying fine. 

Any ideas?

See My related post with the same problem with the DatePicker
DatePicker
Dr.YSG
Top achievements
Rank 2
 answered on 02 Oct 2013
2 answers
89 views
I know this is going to sound strange, but I started seeing this in the last version, and I am seeing it also in 2013.2.918.commercial.

If you look at the attached screen shots, for exactly the same page. You will see that Chrome V29 is rendering white boxes around the dates. Which is not the case with IE11 or FireFox. Since it is the same exact code, I have no idea why it would render differently.

I have a similar issue with the Grid see this post.




Dr.YSG
Top achievements
Rank 2
 answered on 02 Oct 2013
1 answer
69 views
I am using Kendo UI ASP.Net MVC framework and I have a kendo grid one of our pages. I am able do client side validation when the grid is in edit mode(using in-line editing). Error messages are displayed next to the field, it is possible to get all these errors and display them as a list when the Update button is clicked
 on the row.
Alexander Popov
Telerik team
 answered on 02 Oct 2013
7 answers
85 views
Hi,

When certain values are supplied in the data used by the stock chart navigator it causes it to expand to cover the entire chart:

http://jsfiddle.net/supercheez/U5jDh/1/

The data used is fairly specific but I have no idea what's going on.

Many thanks,
Chris
Hristo Germanov
Telerik team
 answered on 02 Oct 2013
1 answer
176 views
Hello,

I have a Kendo Grid and I am doing both client and server side validation when the fields in a row of a grid are modified. I am able to display the server side validation errors and custom validation errors in  a Toaster by adding them to the Toaster in the Grid Error event . I would like to do the same for client side validation errors as well (For eg. if a value doesn't meet the range specified for that field) I would like them to be added to the Toaster and display them when I click the 'Save' button on that row in the grid. Any help is greatly appreciated.

Alexander Popov
Telerik team
 answered on 02 Oct 2013
9 answers
1.2K+ views
Hi,

a tooltip template of a stacked chart area, that uses dataItem of series (data from JSON dataSource) works as long as you use fixed string category values. If you use data of the datasource (see below) as values for category axis you in tooltip can only access the value of the dataItem the mouse pointer is in/over.

Here's the code (tooltip template not correctly working). Data for category '(model => model.TS)' is of type DateTime (01/012013, 01/02/2013...):

series

.Series(series =>
              {
                  series.Area(data => data.CL).Stack(true).Name("Gespräche verpasst");
                  series.Area(data => data.CO).Stack(true).Name("Gespräche gehend");
                  series.Area(data => data.CI).Stack(true).Name("Gespräche kommend");
              })

category axis

          .CategoryAxis(axis => axis
                                    .Categories(model => model.TS)
                                    .Labels(builder => builder
                                                           .Format(Model.CategoryAxisLabelFormat)
                                                           // TODO calculate step
                                                           .Step(Model.CategoryAxisStep)
                                                           .Rotation(-90))
                                    .Line(line => line.Visible(true))
                                    .MajorGridLines(lines => lines.Visible(false))

tooltip template

.Tooltip(tooltip => tooltip
                                  .Visible(true)
                                  .Template("Zeitpunkt : #= kendo.format('{0:dd.MM.yyyy}', category) #<br/><br/>Gespräche kommend : #= dataItem.CI # <br/>Gespräche gehend : #= dataItem.CO #<br/>Gespräch verpasst : #= dataItem.CL #" + "<br/><br/>Summe : #= dataItem.CI + dataItem.CO + dataItem.CL #")

If you replace '  .Categories(model => model.TS)' with '{ "01/01/2013", "01/02/2013", "01/03/2013" etc }' all values od dataItems are correctly shown in tooltip.
What causes this behaviour?

Thanks for your support
Dirk
T. Tsonev
Telerik team
 answered on 02 Oct 2013
8 answers
315 views
Hello!

I am developing an ASP.NET MVC app in C# using the Kendo Scheduler. One of the requirements is that when an event is created/edited, the app should check for any overlapping events, and warn the user if any exist. This seems quite complex to me, given that both the event being created/edited and events already in the database can have recurrency rules...

So: Is there some recommended approach to tackling this sort of problem? Is there something built into Kendo UI that I could take advantage of? Or does anyone know of a third-party iCal RRULE parser or something that I could incorporate into my app?

Any and all suggestions appreciated!  :-)

Best regards,
  Gunnar

gunnisen
Top achievements
Rank 1
 answered on 02 Oct 2013
1 answer
253 views
The question is how can I override default behavior of TabStrip control to select tabs with TAB on the keyboard?
The default behavior actually allows to switch between tabs using Left/Right keys.
What I'm aiming is to give users an ability to "Tab" through all page controls with the keyboard and then activate this or that tab with Enter. In other words I would prefer to use tabindex attribute but as far as I can see <li> within <ul class="k-tabstrip-items"> are actually tabs, means setting ta bindex for them won't highlight them by default for users. Could you please advise an approach to achieve this?
Petur Subev
Telerik team
 answered on 02 Oct 2013
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?