Telerik Forums
Kendo UI for jQuery Forum
1 answer
182 views
Is there a way to disable the selection box for multiselect in treelist? I'm trying to implement some custom drag and drop behavior and the drag event for selection is intercepting some of the drag events. Would there be a way to intercept this in the main widget class?
Stefan
Telerik team
 answered on 20 Sep 2017
1 answer
92 views

I have a requirement to display information that is arranged as a web. What I mean by this is a hierarchical structure but each node can also have multiple parents. The connections between nodes have a weighting, which ideally would be displayed in some way either graphically, by width or colour, or by a label.

This is being developed as part of a web application.

Is there anything in the Telerik toolset which could help with this?

Nencho
Telerik team
 answered on 20 Sep 2017
1 answer
136 views

 $("#player").kendoMediaPlayer({
autoPlay: true,
play: onPlay,
pause: onPause,
end: onEnd,
ready: onReady,
timeChange: onTimeChange,
volumeChange: onVolumeChange,
messages: {
   play: "Wiedergabe",
   pause: "Pausieren"
},
media: {
title: "player",
source: new kendo.data.DataSource({
   transport: {
       read: {
           url: "getVideoplayer",
           type: "POST",
           dataType: "binary"
       }
   }
})
}
});

html: 

<div id="player" style="width:640px; height: 360px;"></div>

 

i have this error:

 

Uncaught TypeError: this._currentUrl(...).match is not a function

 

Stefan
Telerik team
 answered on 20 Sep 2017
1 answer
358 views

I would like to create a kendo video player.

I would like to pass the video data to the player and not link.

In the back end I use spring.
The problem is that the call response is empty.

Html code:

<div id="video1" style="width:640px; height: 360px;"></div>

Js code:

$("#video1").kendoMediaPlayer({

autoPlay: true,

messages: { play: "Wiedergabe", pause: "Pausieren"},

media: { title: "video",

     source: new kendo.data.DataSource({

transport: {

read: { url: "/methodSpring/video", contentType: "application/json", dataType: "json"}}

}),

}

});

Java code:
@RequestMapping(value="video")

public void getVideoGst(HttpServletResponse response) throws Exception

{

logger.debug("+video");

File file = new File("/home/user/Desktop/doc.mp4");

FileInputStream fis = new FileInputStream(file);

try {

IOUtils.copy(fis, response.getOutputStream());

fis.close();

}

finally {

IOUtils.closeQuietly(fis);

logger.debug("+video");

}

}

Stefan
Telerik team
 answered on 20 Sep 2017
5 answers
252 views

Hello,

 

I have upgraded three different apps to the new Kendo dlls for MVC and every project is breaking on the editor template section.

 

I manually added the templates and it seems to work, but I noticed a change in the string template.

 The old template for the String.cshtml looks like below

The new one looks like this

I am not sure if this is anything, but it cannot find the TextBoxFor.

 

I am using VS2013 update4.  

Nikolay Mishev
Telerik team
 answered on 19 Sep 2017
3 answers
418 views

HI,

 

1. How to download file in XLSX format directly without saving on local path or server without UI  using radspread processing ?

2. How to download file in XLSX format directly without saving on local path or server with UI  using radspread processing ?

 

Please provide complete demo or documentation on this because I am using console application .

Tanya
Telerik team
 answered on 19 Sep 2017
1 answer
320 views

I have two list boxes that are connected, the left one lists available items and the second for selected items. The number of selected items is limited to 5.  Is there a way to turn of the transferTo tool button and disable new drops in the second list box ?  The second box needs to remain 'active' for the user to reordering the items in their priority sequence.

I have been able to disable the transfer to button in the toolbar, in the second listbox add handler, when a new add is occurring and the listbox currently has 4 items.

Thanks,

Richard

Stefan
Telerik team
 answered on 19 Sep 2017
1 answer
85 views

I have a grid with 2 columns. Rep and commission. I need to ensure commission is never > 100%, so once it reaches 100% i want to disable the add button in the toolbar.

I know how to get aggregates, but how would i access this when the user edits?

Stefan
Telerik team
 answered on 19 Sep 2017
1 answer
101 views

Hi,

I have a grid with a bunch of locked columns. A swipe on the locked area of the grid does not activate vertical scrolling. On the non-locked area this works fine. Is there any workaround to accomplish the same behavior in the locked column area?

Kind regards,

Marco

Orlin
Telerik team
 answered on 19 Sep 2017
1 answer
181 views

Hello,

I have a KendoGrid with a detaiTemplate:

detailTemplate: kendo.template($("#template").html()),

 

And the Temmplate:

<script type="text/x-kendo-template" id="template">
        <br>
        <div class="tabstrip">
            <ul>
                <li class="k-state-active">
                    Verteiler
                </li>
                <li>
                    Verteiler hinzufügen
                </li>
                <li>
                    Dokumente
                </li>
            </ul>

            <div>
                <h4>Verteiler</h4>
            </div>

            <div>
                <h4>Verteiler hinzufügen</h4>
            </div>

            <div>
                <!-- Upload -->

                <!-- Div mit der ID des Projektes, damit die Datei zugeordnet werden kann -->
                <div style="display:none;" id="id">#=id#</div>

                Neu hochladen: <input name="files" id="files" type="file" />
                <hr> Vorhandene Elemente:

                <div id="alreadyDocs"><b>noch keine Elemente vorhanden</b>
                </div>

            </div>

        </div>
        <br>
    </script>

 

 

with the following Javascript:

function detailInit(e) {
            var detailRow = e.detailRow;

            detailRow.find(".tabstrip").kendoTabStrip({
                animation: {
                    open: {
                        effects: "fadeIn"
                    }
                }
            });

            //Die Id des Projektes ist in dem Template in dem div mit der id "id" gespeichert
            var id = detailRow.find("#id").html();

            /* Uploader Widget erstellen*/
            detailRow.find("#files").kendoUpload({
                async: {
                    saveUrl: "save.php?parentID=" + id,
                    autoUpload: true
                },
                success: onSuccess
            });
        }

 

In the Subgrid Tab "Dokumente" will be all Documents, which were already uploaded to the master-Line.

And I want, that after uploading (onSuccess), the Subgrid refreshes.

 

How to do that?

Stefan
Telerik team
 answered on 19 Sep 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?