Kendo UI listBox mvvm drag and drop not working - kendo-ui

I am implementing kendo grid drag and using in java script using MVVM like discussed in this example in documentation.
https://demos.telerik.com/kendo-ui/listbox/drag-and-drop
The example above is written is not written in mvvm pattern(adding data-properties pattern) so the link below i have tried to convert into mvvm style pattern but drag and drop does not work for some reason and no error on console.
Dojo implementation of Current Code
Any help or guidance will be appreciated.

Change data-drop-sources attribute value
from: data-drop-sources="listbox2"
to: data-drop-sources="['listbox2']"
Everything else is good.
I updated your dojo example and its working fine.

Related

Telerik combobox not rendered properly when twitter's bootstrap applied to project

I am developing a project in VS2010 with bootstrap and telerik controls. The only problem it seems to give is that when telerik's radcombobox gets focus, the inputbox inside table of radcombobox does not fit according to the size of a table. An answer on how to change css of combobox to get a desired result will be highly appreciated.
Here is the link to the image - http://img690.imageshack.us/img690/2791/ae01.png
Thanks
I downloaded latest bootstrap(BS3 RC1) and problem is resolved.

MvvmLight and CustomMessageBox

Is there a proper mvvm way to show CustomMessageBox from the view and get callback from it?
This sample is quite nice, but it uses hardcoded MessageBoxButton (only Yes/No/YesNo are avaivable, but i need custom buttons).
This contains lots ofuseful info about Messages in MvvmLight, but DialogMessage is also showing only YesNo sample (also no custom buttons).
Figured out that Cimbalino toolkit (Cimbalino saves the day again!) has quite nice custom messagebox.

Using a Telerik control inside a repeater

I am using the asp.net Repeater control. (My company is heavily invested in that, so I can't change it.)
I need a way to create a poup edit window, specific to the row the user clicked on in the repeater, so the user can edit the data in that record.
We have the Telerik controls to use, but I don't know which one. I saw the radwindow, but can find no examples of using it in a repeater. Frankly, Telerik documentation is confusing.
I prefer to use client-side code, ajax and web-services. I'd like to prevent post-backs.
1) Please give me a reference to a specific example of using the Telerik radwindow inside a repeater for this purpose.
OR
2) Clue me in to a better idea.
Thank you.
I don't think there are explicit examples with an asp Repeater, but I found this one with a GridView. The approach should be the same, as it is just another databound control - it shows an easy way to open a RadWindow on the client by passing some parameters (it is actually not possible to open it on the server, it is a client-side object).
Some more complex examples I found on their site here and here. They both update a grid, yet they show a nice way to use AJAX to prevent a full postback.

Problem using telerik to apply skin to datagrid

I tempted to apply skin to my winform application which has many datagrids.
Many people recommend telerik and I changed datagrids to telerik's gridview.
Unfortunately gridview's properties and events name alot differently in telerik and standard winforms datagrid. and I have to rewrite a lot of code from scratch
Is there simpler alternative?
No, if you want to use Telerik's grid, you have to go through the hard process of rewriting the code to work with the new events, etc. unfortunately.
We've all been there :-)
HTH.

in telerk mvc grid, editing and inserting scenarioes with AJAX binding of complex objects

In Telerik documentation we must use server binding when binding complex objects.
How can we activating Insertion and Editing mode in Telerik mvc grid with ajax binding of complex objects?
how we can customize the whole of insert form and edit form
ie. drawing drop down lists for properties of reference types
thanks in advance
How about using server edit template for that, is it applicable? I crawled the online MVC demos on their site and hit upon this one.
I found a solution.
I am using Client Edit Templates for this scenario but there is a problem in the ScriptRegisterar I think, the problem related to registering Telerik DropDown javascript files.
I made initial solution which is to add a line of code to the ScriptRegisterar to explicit register the javascript file "telerik.list.js"
OR add a dummy Telerik DropDown list in the same page where you want it to appear in the grid, and you have to hide it using css.
This is a bug in the final version of telerik 2010.3.1110
Telerik has released the hotfix for this bug in the version 2010.3.1111
check the link and download the hotfix:
http://www.telerik.com/community/forums/aspnet-mvc/grid/script-registrar-not-loading-scripts-for-controls-used-in-client-templates.aspx

Resources