Telerik Forums
UI for ASP.NET Core Forum
1 answer
258 views

Hello,

With the new Material Theme, how can we have floating labels on Telerik controls (dropdownlist, combobox, ...) ?

 


Dimitar
Telerik team
 answered on 31 Oct 2018
1 answer
152 views

Hello,

Since I do not want a static value in my gauge, I want to use some model value. By checking the documentation of the gauge, there is none example to bind it with a model. Is there any example to perform this in asp.net core?  

Kind regards.

Konstantin Dikov
Telerik team
 answered on 31 Oct 2018
1 answer
173 views

Hello,

Ive been using multiple graphs now. Those are: bar, scatter and gauge. Now I when I resize my screen and reload my page. The bar and scatter chart will resize perfectly. Only the gauge will keep doing his own thing. How can I fix this, and could this be a feature to add so the scatter will resize when the page reloads/resizes.

 

Kind regards.

Preslav
Telerik team
 answered on 26 Oct 2018
1 answer
527 views

I wanted to use Telerik Asp.Net Core plugins in my project. When I am trying to copy the menu component of Telerik UI, it throws error on Basecontroller class and [Demo] annotations. Please let me know, what is this error about and how to fix it.

Veselin Tsvetanov
Telerik team
 answered on 26 Oct 2018
1 answer
407 views

Hi

I Have a grid like this :

01.@(Html.Kendo().Grid<TMain>()
02.                 .Name("gridEQ")
03.                 .Columns(c =>
04.                 {
05.                     c.Group(g =>
06.                         g.Title("History")
07.                             .Columns(i =>
08.                             {
09.                                 i.Bound(x => x.History.HairLoss).ClientTemplate("#= History.HairLoss ? 'Yes' : '' #");
10.                                 i.Bound(x => x.History.WT_Gain).ClientTemplate("#= History.WT_Gain ? 'Yes' : '' #");
11.                                 i.Bound(x => x.History.Wt_loss).ClientTemplate("#= History.Wt_loss ? 'Yes' : '' #");
12.                             })
13.                         );
14.                     c.Group(g =>
15.                         g.Title("PmhDh")
16.                             .Columns(i =>
17.                             {
18.                                 i.Bound(x => x.PmhDh.Levothyroxine);
19.                             })
20.                         );
21.                 })
22.                 .Sortable()
23.                 .Pageable()
24.                 .Scrollable()
25.                 .DataSource(d => d
26.                     .Ajax()
27.                     .PageSize(20)
28.                     
29.                     .ServerOperation(true)
30.                     .Read(r => r.Action("SendData", "MyAction"))
31. 
32.                 ))

I want hide columns if all cell of column was empty value and if all columns of a group was hide the column of group also hide too .

for example if Levothyroxine column data was empty string the Levothyroxine column hide and PmhDh hide too.

my problem is i have 230 columns that i must show in this grid and i want hide empty columns

Konstantin Dikov
Telerik team
 answered on 25 Oct 2018
1 answer
283 views

Hi,

I am trying to have a list of Offices for an Organisation edited from a tabstrip, i can load the data and perform modifications easily but my problem arises when i want to add a new office when i click on a button. i use the API to add a tab but i do not know if it is possible for me to specify that the content should be loaded from an action. 

Veselin Tsvetanov
Telerik team
 answered on 24 Oct 2018
1 answer
403 views

Hello Team;

Do we have a Kanban Widget in Kendo UI for ASP.Net Core 2.1?
I saw an application that had used Kendo UI jQuery widget and they told me their Kenban widget was from Telerik. However, when I look at t he list of ASP.Net core widgets I can't find any with that name.

Could you please shed some light where to find it?
Thanks!

Vessy
Telerik team
 answered on 24 Oct 2018
4 answers
197 views

Hi

I have a Class like this : 

public class History
{
public bool Wt_loss { get; set; }
 public bool WT_Gain { get; set; }
 public bool HairLoss { get; set; }
}
 public class PmhDh{
public string Levothyroxine { get; set; }
 }
 public class Datum{
public History History { get; set; }
public PmhDh PmhDh { get; set; }
 }

and i fill the main class with some data

i want to show this class in kendo grid mvc wit main header and sub header but i my code not work correctly

this is my grid code :

@(Html.Kendo().Grid<dynamic>()
                 .Name("gridEQ")
                 .Columns(columns => columns.AutoGenerate(true))
                 .Sortable()
                 .Pageable()
                 .Scrollable()
                 .DataSource(d => d
                     .Ajax()
                     .PageSize(20)
                     .ServerOperation(true)
                     .Read(r => r.Action("SendData", "Thyroid"))
                     
                 ))

and attach the result on this post

please help me

thanks

Viktor Tachev
Telerik team
 answered on 23 Oct 2018
1 answer
203 views

@(Html.Kendo().Grid<BitteleERP.MVC.Models.Corporation>()
                .Name("grid")
            .Columns(columns =>
            {
                columns.Command(command => command.Custom("Edit").Click("edit")).Width(40);
                columns.Command(command => command.Custom("Delete").Click("deleted")).Width(40);
                columns.Bound(c => c.Name).Width(140);
                columns.Bound(c => c.Location).Width(190);
                columns.Bound(c => c.DefaultCurrency).Width(100);
            })
            .ToolBar(toolbar =>
            {
                toolbar.ClientTemplateId("GridToolbarTemplate");
            })
            .HtmlAttributes(new { style = "height: 380px;" })
            .Sortable()
            .Scrollable(scrollable => scrollable.Virtual(true))
            .HtmlAttributes(new { style = "height:84vh;" })
            .DataSource(dataSource => dataSource
                .Ajax()
                .Read(read => read.Action("Read", "Corporation"))
            )
)

 

<script id="GridToolbarTemplate" type="text/x-kendo-template">

    <div class="refreshBtnContainer">
        <a href="/Corporation/New" data-ajax="true" data_ajax_method="GET"  data_ajax_mode="replace" data-ajax-update="#ajax-content" class="k-pager-refresh k-link k-button " style="float:left" title="Add New"><span>Add New</span></a>
    </div>
</script>

--

data-ajax-update="#ajax-content" with # is not working with kendo

---

ncaught Error: Invalid template:'
    <div class="refreshBtnContainer">
        <a href="/Corporation/New" data-ajax="true" data_ajax_method="GET"  data_ajax_mode="replace" data-ajax-update="#ajax-content" class="k-pager-refresh k-link k-button " style="float:left" title="Add New"><span>Add New</span></a>
    </div>
' Generated code:'var $kendoOutput, $kendoHtmlEncode = kendo.htmlEncode;with(data){$kendoOutput='\n    <div class="refreshBtnContainer">\n        <a href="/Corporation/New" data-ajax="true" data_ajax_method="GET"  data_ajax_mode="replace" data-ajax-update="';ajax-content" class="k-pager-refresh k-link k-button " style="float:left" title="Add New"><span>Add New</span></a>
    </div>
;$kendoOutput+=;}return $kendoOutput;'
    at Object.compile (kendo.all.min.js:25)
    at Object.d [as template] (jquery.min.js:2)
    at HTMLDocument.<anonymous> (Corporation:252)
    at i (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at Function.ready (jquery.min.js:2)
    at HTMLDocument.K (jquery.min.js:2)

 

 

 

Alex Hajigeorgieva
Telerik team
 answered on 22 Oct 2018
1 answer
58 views

hello.

when i update window with 

$(window).resize(function(){
    $("#chart").data("kendoChart").refresh();
});

my is fall and need reload window

Tsvetina
Telerik team
 answered on 19 Oct 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?