Telerik Forums
Kendo UI for jQuery Forum
5 answers
456 views
Hello,

We experience a script error randomly when moving events with drag and drop within the scheduler.
The Visual explanation is that the event we have started to move - dont "release" from the mouse and are stuck with the cursor. As you can see in the attached file, the problem occur in the kendo.web.min.js library.

The current configuration run on Win 8.1 , IE11 and on the kendoui.complete.2013.2.918.commercial release.

Our datasource:
  dataSource = new kendo.data.SchedulerDataSource({
        sync: function () {
            this.read();
        },
        batch: true,
        transport: {
            read: {
                url: m_serverUrl + "/ActivityPointerSet",
                dataType: 'json'
            },
            parameterMap: function (options) {
                var parameter = {
                    $filter: filterstring,
                    $select: 'ActivityTypeCode,ActivityId,Subject,ScheduledEnd,ScheduledStart,StatusCode,OwnerId'
                };
 
                return parameter;
            }
 
        },
        schema: {
            model: {
                id: "ActivityId",
                fields: {
                    taskId: { from: "ActivityId" },
                    title: { from: "Subject", defaultValue: "No title", validation: { required: true} },
                    start: { type: "date", from: "ScheduledStart" },
                    end: { type: "date", from: "ScheduledEnd" },
                    //startTimezone: { from: "StartTimezone" },
                    //endTimezone: { from: "EndTimezone" },
                    StatusCode: { from: "StatusCode" },
                    roomId: { from: "ActivityTypeCode" },
                    description: { from: "StatusCode" },
                    recurrenceId: { from: "RecurrenceID" },
                    recurrenceRule: { from: "RecurrenceRule" },
                    recurrenceException: { from: "RecurrenceException" },
                    ownerId: { from: "OwnerId", defaultValue: 1 },
                    isAllDay: { type: "boolean", defaultValue: false }
                }
            },
            parse: function (data) {
                return data.d.results;
            },
            type: "json"
        },
        serverSorting: true,
        serverFiltering: true
    });
 
    return dataSource;
}


The Scheduler initialisation method
function ISV_Abs_InitKendoScheduler() {
    var datasource = ISV_Abs_GetSchedulerDataSource();
 
    $("#scheduler").kendoScheduler({
        date: new Date(),
        editable: {
            confirmation: "Are you sure you want to delete this Sales Call?"
        },
        startTime: new Date("2013/6/13 07:00 AM"),
        navigate: scheduler_navigate,
        remove: scheduler_remove,
        resizeStart: scheduler_resizestart,
        save: scheduler_save,
        moveStart: scheduler_movestart,
        views: [
                "day",
                    { type: "week", selected: true },
                    "month",
                    "agenda"
                ],
        edit: function (e) {
            Xrm.Utility.openEntityForm(e.event.roomId, e.event.taskId, null);
            e.preventDefault();
            return false;
        },
        dataSource: dataSource,
        resources: [
                {
                    field: "roomId",
                    dataSource: [
                        { text: "Sales Call", value: "abs_salescall", color: "#7ea700" },
                        { text: "Appointment", value: "appointment", color: "#0094E5" }
                    ],
                    title: "Activity Type"
                }]
    });
}

function scheduler_movestart(e) {
    if (e.event.description.Value == 2 || e.event.description.Value == 3) {
        alert("Cannot update a canceled or completed Activity");
        e.preventDefault();
        return false;
    }
}

I very happy for any help on this mather.

Best Regards
Support
Top achievements
Rank 1
 answered on 11 Nov 2013
1 answer
83 views
Hello,
is it possible to configure Kendo UI Mobile that the navigation bar on iOS devices is not overlayed at the top?
It should look like the same how it is displayed in Android.

Thank you guys!

Martin
Kiril Nikolov
Telerik team
 answered on 11 Nov 2013
3 answers
45 views
Hello,

I've noticed an issue with the filtering functionality of Date fields in the Kendo Grid. This behavior can be observed when viewing the grid demo: http://demos.kendoui.com/web/grid/remote-data.html

The sample data here has 7/3/1996 as the Order Date of the first record in the grid. If I attempt to filter the records for all orders on this date ("Is equal to" 7/3/1996), nothing appears. I would expect that at least this first record would remain. If I attempt to filter the records for all orders on 7/4/1996, the only record that appears is the first record with an order date of 7/3/1996, which is also not expected. I would expect that the second record with an order date of 7/4/1996 would appear. Similar issues occur when using the other filter types ("Is after", "Is before", etc.).

Is the dev team at Telerik aware of this issue? And is there a workaround for this short of implementing my own custom filter?

Thanks!
Geoff
Kiril Nikolov
Telerik team
 answered on 11 Nov 2013
1 answer
145 views
Hi,
I use inline editing with formatting tools like this :  


{ name: "formatting", items: [
            { text: "Important", value: ".Red" },
            { text: "Low", value: ".Blue" },
            { text: "Clear", value: "p" , context:"span" },
          ] }



I would like add a clear item which do a remove of the <span class="important">XXXXXX </span> .
Is it possible 
Thanks for help

Alex Gyoshev
Telerik team
 answered on 11 Nov 2013
1 answer
40 views
Dear Support Team,

I have some issue on binding data at the List View. At the Json string, the return value has been formatted with as HTML (<b>LH 1611 MUC STD07:50/05 ETD </b><br>Flight Status: <br>Remark: ) . So at my list view, it should show  like this :

LH 1611 MUC STD07:50/05 ETD
Flight Status:
Remark:
but I cannot see like that and just see like normal string. How can I able to bind to see the data properly. I attach my sample application.

And Another thing is that which css class should I call to show it properly.

Thanks & regards,
UFIS
Petur Subev
Telerik team
 answered on 11 Nov 2013
2 answers
306 views
Hi:

I would like to share some success with panelbar and datasource.
I have created a class vwPanelItem to map to the data structure needed for the PanelBar, as follows (see panelbar overview):
public class vwPanelItem
{
    public string value { get; set; }
    public string text { get; set; }
    public string content { get; set; }
}

This is delivered via a web-service as a json object as follows:
<ul id="kjContactsPanel">
</ul>
 
<script type="text/javascript">
    //
    var contactsDataSource = new kendo.data.DataSource({
        transport: {
            read: {
                url: "/Services/Contacts.asmx/@(ViewBag.RequestService)",
                dataType: "json",
                type: "POST",
                contentType: "application/json; charset=utf-8"
            },
        },
        schema: {
            data: "d"
        },
        change: function () {
            var panelItems = this.view().toJSON();
            var panelBar = $("#kjContactsPanel").kendoPanelBar({
                dataSource: panelItems,
                expandMode: "single"
            }).data("kendoPanelBar");
        }
    });
    //
    contactsDataSource.read();
    //
</script>
This is from a MVC implementation.  Thus the @(ViewBag.RequestService) is dynamic string being handed to the view from the controller (it is the web-service method).

Good luck:
Phil
Hafiz
Top achievements
Rank 1
 answered on 10 Nov 2013
3 answers
210 views
How do I disable certain tabs in my mobile tabstrip?
Iliana Dyankova
Telerik team
 answered on 08 Nov 2013
2 answers
99 views
I just tried using the "kendoMobileBack" feature here: http://docs.kendoui.com/api/mobile/backbutton

When I try it, it works fine (hit the "foo" and "back" button a few times), but if I hit the physical "back" button on an Android device, it goes through the entire history.  Shouldn't the back button would pop views off, not push new views on?
Matt
Top achievements
Rank 1
 answered on 08 Nov 2013
1 answer
110 views
HI

When I copy xls's cell with border , and paste on Editor , but I check Html, it generate <table with border ="0", I hope to know where to fix it and let <table with 

border='1'

Best Regard
Dimo
Telerik team
 answered on 08 Nov 2013
1 answer
39 views
Hello Telerik team.

I want to force my app for looks as the windows phone light theme just in windows phone devices regardless its version.
Other platforms should look like their native theme.

Thanks in advance

Regards

Diego Varela
Petyo
Telerik team
 answered on 08 Nov 2013
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?