Telerik Forums
Kendo UI for jQuery Forum
1 answer
107 views

I am using the Telerik WPF controls and the KendoUI for JQuery.  Can the KendoUI scheduler read the same exception format as the WPF?  For example, my exception now is:

"05/09/2018 06:00:00`05/09/2018 06:00:00`05/09/2018 11:00:00`|"

How would that be for Kendo? And is there an easy way to translate if different?

 

Plamen
Telerik team
 answered on 11 May 2018
5 answers
617 views

Hi there,

On my bar chart individual bars trigger JS code via the onSeriesClick which is working fine.  If you hover over the bar it slightly changes the colour which is helpful so the end user knows it's clickable.  However, sometimes bars are really short and it's therefore hard for them to tell they can click it and it's hard to click as it's such a small area to click.

I also have labels on each bar.  I would like to extend the onSeriesClick event so that if you click the label it also triggers the event.  I noticed it does this by default on high resolution screens, but on small screens this functionality seems to disappear.

Is it possible to make this behaviour work for all resolutions somehow?

Below is my view code, and I've attached a screenshot of the graph.  The arrow on the screenshot is an example - the red bar is the only clickable part for low resolution screens, but I'd like to be able to click the label text over the top too to trigger the event.

 @( Html.Kendo().Chart<Models.RecommendedActionItemsBarChartModel>()
                .Name("recommendedActionItems")
                .ChartArea(chartArea => chartArea.Background("#F5F5F5"))
                .Title(title => title
                    .Text("Recommended Action Items")
                    .Position(ChartTitlePosition.Top))
                .DataSource(ds => ds
                    .Read(read => read.Action("RecommendedActionItemsBarChart", "Reporting"))
                    .Group(g => g.Add(d => d.category))
                )
                .Series(series => series
                    .Bar(d => d.Share, d => d.Color).CategoryField("category")
                    .Name("#:group.value#")
                    .Stack(true)
                    .Labels(labels => labels
                        .Visible(true)
                        .Template("#= dataItem.category # #= value # (#= dataItem.PercentageField #)")
                        .Position(ChartBarLabelsPosition.InsideBase)
                    )
                )
                .CategoryAxis(axis => axis
                    .Visible(false)
                )
                .ValueAxis(axis => axis
                    .Numeric()
                    .Labels(labels => labels
                        .Visible(false)
                    )
                )
                .Tooltip(tooltip => tooltip
                    .Visible(false)
                )
                .Legend(legend => legend
                    .Visible(false)
                    .Position(ChartLegendPosition.Bottom)
                    .Labels(x => x.Font(font: "9px Arial,Helvetica,sans-serif"))
                )
                .Events(events => events
                    .SeriesClick("onSeriesClick_recActionItems")
                    .DataBound("onDataBound_recActionItems")
                )
)

Thanks,

Mark

Stefan
Telerik team
 answered on 11 May 2018
3 answers
184 views

Hi, 

In short I want to know how to access the value of a parent's sibling attribute in the MVVM observable object. I do have a solution but I would like to know if the best option for me to use.

http://dojo.telerik.com/AZEZixAs

Thanks,
Grant

David
Top achievements
Rank 1
 answered on 10 May 2018
12 answers
425 views
So I have a combobox defined in my application:

$("#contactFilter").kendoComboBox({
  placeholder: "contact name",
  dataTextField: "Name",
  dataValueField: "Id",
  template: kendo.template($("#ContactFilterItemTemplate").html()),
  filter: "contains",
  autoBind: false,
  minLength: 3,
  delay: 500,
  dataSource: {
    type: "json",
    serverFiltering: true,
    transport: {
      read: {
        url: Cmdb.SiteRoot + "Groupings/ContactsTypeahead",
        data: function () {
          return {
            filterString: $("#contactFilter").data("kendoComboBox").input.val()
          };
        }
      }
    }
  }
});

and that works great.

In my application's master page there are ajaxStart and ajaxComplete functions that cause an ajax loader to show on any ajax call.

<script type="text/javascript">
  $(document).ready(function () {
 
    $(document).ajaxStart(function () {
      $("#ajaxLoader").modal("show");
    });
 
    $(document).ajaxComplete(function () {
      $("#ajaxLoader").modal("hide");
    });
 
  });
</script>

Is there a way in the Combobox definition to suppress these?   Is there any access to the "global" attribute of the ajax call?  Having the modal flash up with every autocomplete search is pretty annoying.

Thanks,
Nick



Ianko
Telerik team
 answered on 10 May 2018
4 answers
16.2K+ views
How do you clear the selection of a dropdownlist?
Joana
Telerik team
 answered on 10 May 2018
16 answers
596 views
I do not quite understand how does the dropdownlist appear when I click "Edit" for inline editing?  I have my data bound to my grid but want the dropdownlist to appear for that cell when I click edit. 
Alex Hajigeorgieva
Telerik team
 answered on 10 May 2018
24 answers
1.1K+ views

In Windows 10 there is a feature(and a policy that applies the feature), which blocks the so-called "untrusted fonts". Untrusted fonts mean any font not installed %windir%/fonts, including web fonts.

With this feature enabled (or the policy applied) custom fonts, such as font icons will not be loaded regardless of the provider. Hence, font icons used by Kendo UI, Kendo UI for Angular and Telerik UI for ASP.NET AJAX, MVC, Core will not be loaded.

More information about the Windows 10 feature that blocks the untrusted font icons could be found below:

https://support.microsoft.com/en-us/help/3053676/windows-10-technical-preview-adds-a-feature-that-blocks-untrusted-fonts

Dimitar
Telerik team
 answered on 10 May 2018
1 answer
273 views

When using a large context menu that doesn't fit on the screen, a scrollbar is shown within the context menu. Unfortunately the scrollbar is not shown when the context menu contains multiple nesting levels.

Example https://dojo.telerik.com/uYUqazaP. This example shows a context menu with a single nesting level, which correctly displays a scrollbar. The other context menu contains 2 levels of nesting, which does NOT show the scrollbar.

Dimitar
Telerik team
 answered on 10 May 2018
10 answers
2.2K+ views
When I hover the mouse over a label on the axisLabel (vertical axis in my screenshot) I'd like the cursor to change to a pointer instead of the text insertion cursor because I have a click event setup using the axisLabelClick event. The attached screenshot shows the text insertion pointer when I hover over the '6th st property' label  of a bar chart. I want it to be the 'finger pointer' instead. Is this possible?

Thanks,

Troy
Alex Hajigeorgieva
Telerik team
 answered on 10 May 2018
1 answer
295 views

     Hallo all, 

i make a simple data driven Webapp and try to connect the Kendo grid with oracle DB. Can you explain me, how to make this connection a simplest?

Thanks advance  

Stefan
Telerik team
 answered on 10 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?