Telerik Forums
UI for ASP.NET MVC Forum
1 answer
587 views

Please see the attached screenshot.

This happens when I follow these instructions.

My application is a Core WebApplication targeting Framework 4.7.2.
Now this reference worked just fine when I was using the Trial package. I've just upgraded to my commercial licence and I can't get the reference to take.
Advice please.

Veselin Tsvetanov
Telerik team
 answered on 16 Apr 2019
3 answers
1.0K+ views

Hi guys, I'm new to the Kendo, I want single search option on top of the grid.How can I make this using Kendo controls?

Viktor Tachev
Telerik team
 answered on 16 Apr 2019
3 answers
1.2K+ views

Hi!

 

I have a kendo grid  in my MVC project, with inline editing enabled and everything works beautifully. I use read, update and create methods on the datasource to manage the data.

I also have a summary section on my page, so after a user edits a row, i need to update the summary and there is no "built in method" on the DataSource for this.

So after some investigation, it seems i need to use the requestEnd event, however, as soon as i do that, the read, update and create methods stop working.

Is there a workaround for this?

Below is small piece of the code, I've removed some not relevant bits:

                            .DataSource(dataSource => dataSource
                                .Ajax()
                                .ServerOperation(false)
                                .AutoSync(true)
                                .Model(model => model.Id(i => i.Id))
                                .Read(read => read.Action("Index", "InvoiceGrid", Model.SelectedVendorId))
                                .Update(update => update.Action("UpdateGrid", "InvoiceGrid"))
                                .Create(create => create.Action("AddInvoice", "InvoiceGrid", new { batchId = batch.batch.Id }))
                                //.Events(ev => ev.RequestEnd("refreshSummary"))
                                ).ToHtmlString()

If i uncomment the Events line above, it breaks the read, update and create methods.

Is there a workaround for this?

Bruce

Bruce
Top achievements
Rank 1
 answered on 15 Apr 2019
3 answers
189 views
I have been looking through the forms for sometime now to find an answer. I have a hierarchy grid that works well. However I need to iterate through the data later. I want to eager load my hierarchy grid. The only thing I have found so far are some older answers using jquery from 2013 here . Is there a more modern approach using Asp.net MVC I could use?
Hans
Top achievements
Rank 1
 answered on 15 Apr 2019
11 answers
268 views

High,

I just updated to 2019.1.115 and have a problem with the Kendo Menu. The links have lost their blue color. See the attached screenshots for the difference. Other links are blue as expected. Can you please help me restore the blue color to the links in the Menu control?

 

Best regards,

Henrik

Devin
Top achievements
Rank 1
 answered on 12 Apr 2019
12 answers
277 views

We downloaded the telerik toolkit trial and then downloaded MVC VSExtentions for VS 2017 but we didnt find the add new scaffolding item. would you please help?

 

Nencho
Telerik team
 answered on 12 Apr 2019
3 answers
331 views

Hello,

We have a DatePicker which has the 'Year' view so you can only select months. We wish to only allow the user to select Quarters (March, June, Sept & Dec). 

I can only seem to disable by days of week. Is there anyway to disable by months of year?

Thank you

Lucy

Alex Hajigeorgieva
Telerik team
 answered on 11 Apr 2019
5 answers
205 views

I'm trying to get some dropdownlists in some columns in a non-editable grid (row), the reason is these column may contain more data than just 1 entry per row and a dropdown would let the user be able to quickly view the extra entries for that column.

All the examples I've seen are for editable grids (rows).

Is this even possible? 

Asking because everything I've tried to date just hasn't worked.

Thanks

Alex Hajigeorgieva
Telerik team
 answered on 10 Apr 2019
6 answers
1.0K+ views

Currently I group on a hidden field like

GridHelpers.FilterableColumn(columns, m => m.Id).Hidden() .ClientGroupHeaderTemplate(".  . . . .");

And as part of the DataSource I added

.DataSource(dataSource => 
{
dataSource
. . . . . .
.Group(g => g.Add(p => p.Id))
;
})

But this seems to alter the way the grid is sorted for display. Is there a hook that I can influence the sorting for the grid?

 

 


Viktor Tachev
Telerik team
 answered on 10 Apr 2019
2 answers
332 views

Our dropdownlist is in a popup editor of a kendogrid.

It has a databound event where we conditionally select the 1st item.

.Events(events => events.DataBound("function() { if (this.value() == '' && this.dataSource.data().length == 1) { this.select(1); } }"))

This works to change the dropdown (and it's hidden input), but when we post back the value is zero. 

If we manually select the 1st item then it binds and posts back correctly.

A similar databound event works on other screens, but it just seems to be only a problem the built-in popup editor of the kendo grid.

Any ideas how to get the .select to update the dataItem & post back correctly?

Dimitar
Telerik team
 answered on 09 Apr 2019
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?