Telerik Forums
UI for ASP.NET MVC Forum
4 answers
1.2K+ views

I have a dropdownlist that I want to update using values saved in a modal window. I'm using the following:

 

function RebindOrganizations() {
    var ddl = $('#OrganizationName').data("kendoDropDownList");
    ddl.dataSource.read();
    if (newOrganizationName != undefined) {
        ddl.select(function (dataItem) {
            return dataItem.value === newOrganizationName;
        });
        //ddl.value(newOrganizationName);
    }
    ddl.focus();
}


and neither the ddl.select nor the ddl.value statements do the trick. My newOrganizationName value is set correctly. The ddl.dataSource.read() statement executes correctly (i.e., my new Organization is in the list).  Any ideas?

Laurie
Top achievements
Rank 2
 answered on 12 Jan 2017
1 answer
153 views
Is there a way to export the schedule to excel ?
Rumen
Telerik team
 answered on 12 Jan 2017
1 answer
137 views

I currently have a ListView that I'm using to update database entries.  I'm not getting any of the ModelState errors to display upon update.  This is my main issue.

After reviewing the related tickets here, the solution seemed fairly simply.  However, I'm having some issues, here is my ListView

@(Html.Kendo().ListView<OrderEntry.Models.OrderEntry.Product>()
                    .Name("ListView")
                    .TagName("div")
                    .ClientTemplateId("template")
                    .DataSource(dataSource => dataSource
                        .Model(model => model.Id(p => p.OrderID))
                        .PageSize(1)
                        .Read(read => read.Action("ProductReadAll", "Order", new { associatedOrderID =       ViewBag.AssociatedOrderID }))
                        .Create(create => create.Action("ProductCreate", "OpsOrder"))
                        .Update(update => update.Action("ProductUpdate", "OpsOrder"))
                        .Events(e => e.Error("error"))
                    )
                    .Pageable()
                    .Editable(edit => edit.TemplateName("ProductEdit"))
                )

My issue with this, adding the Error Event is causing an error stating that "error" (the name of whatever js function I use) is not defined in /Order/ProductDetailsRead.  ProductDetailsRead is a method in my controller that is called to show the page this ListView is on.  Why is the ListView looking in my controller for a js function?  Haven't run into anything similar to this anywhere else in our website.

Are there any alternatives to showing modelstate errors when updating an item? Something more similar to grids?

 

 

 

 

 

Angel Petrov
Telerik team
 answered on 12 Jan 2017
3 answers
163 views

I have made a custom editor template for my scheduler and wish to be able to upload attachments to events.

I have added an upload control to the template and can successfully upload/delete files within one instance.

However, if I open the calendar event after creation, the previously uploaded files will not populate.

Is there a way to bind the upload control to the calendar event, as it contains all the attachments information?

Ivan Danchev
Telerik team
 answered on 12 Jan 2017
1 answer
42 views

Hello,

In my MVC grid I need to show a lot of columns (around 500) some of them are hidden others not. I'm using the InCell edit functionality to edit the data, on Chrome and Firefox everything works great but on IE after the cell loses the focus (after a value change) there's a huge delay. This delay is very annoying because the grid is unresponsive during this period.

Here is a demo with this behavior: http://dojo.telerik.com/oMUNo/5

I'm doing something wrong?

 

Thanks for the help!

 

 

Pavlina
Telerik team
 answered on 12 Jan 2017
1 answer
128 views
When I enter a value in a cell using comma as decimal separator, the value is interpreted as text.

I'm setting the culture to pt-Br before configure the widget.
Is there any other configuration to make? Or is this a limitation?
Ivan Danchev
Telerik team
 answered on 12 Jan 2017
4 answers
102 views
I saw in your customer feedback portal that an export to MS Word was planned for Q3 '16, is that still in the works?
Pavlina
Telerik team
 answered on 12 Jan 2017
1 answer
137 views
PDF Export can export div's content in one page in this example. When I have many content with very long height, how can I exoprt pdf's document with pages! And then, when I set  paperSize with "A4", it can only export the first page. How to solve my problem. Another Question, how to set the pdf's header and footer in document.

Marin Bratanov
Telerik team
 answered on 12 Jan 2017
5 answers
417 views
We've been using the ASP Dot Net version of Telerik controls for years and use the RadWindow extensively. Is there an equivalent in Telerik MVC? I need to load an existing ASPX page in a pop up from an MVC view and can't get the JQuery dialog to work. (I know, long story) Thanks.
Rumen
Telerik team
 answered on 11 Jan 2017
5 answers
478 views

Hi,

I want to have "Slide in windows" in my ASP.NET solution für editing, Report showing etc.

here in this Video you can see what I mean:http://www.screencast.com/t/9clutfLk3

how to implement such a functionality with Kendo window?

robert

Robert Madrian
Top achievements
Rank 1
Veteran
Iron
 answered on 11 Jan 2017
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?