Telerik Forums
Kendo UI for jQuery Forum
1 answer
783 views
Hi ,

I am facing an issue to select a dropdown value using selenium. Please suggest how can we automate to select kendo ui dropdown value using selenium.


Petur Subev
Telerik team
 answered on 27 Nov 2013
7 answers
774 views
Dear Support Team,

I'm new for Kendo UI Grid. For the moment, I enable "Filterable, groupable, sortable and reorderable" at the grid. And I do refresh the grid every 3 minutes to get the latest data. But if the user do Filter or Reorder or sorting or grouping at the grid, I don't want to effect that setting when the grid has been auto refresh is on.
Currently all the setting are gone after refresh. Is there any way not to lost such setting?

Here is part of my code :

var grdTmp = grdReport.data("kendoGrid");
grdTmp.destroy();
grdReport.empty();
grdReport.kendoGrid({
dataSource: {
                data: vMenuData,
                pageSize: 20 //To replace with Header Value
            },
dataBound: onMenuDataBound,
reorderable: true,
groupable: true,
sortable: true,
selectable: "row",
filterable: true,
pageable: {
                refresh: true,
                pageSizes: true
            },
columns: vMenuHead,
schema: vMenuSchema
});    
    
Thanks & Regards




Alexander Valchev
Telerik team
 answered on 27 Nov 2013
1 answer
419 views
Is it possible to replace the validation message with my own image? I would like to provide an image and set it's title to the validation message. If there is a way to provide a validation message template, that would be great.


Thanks!
Rosen
Telerik team
 answered on 27 Nov 2013
3 answers
80 views
I am using the KendoUI MVC wrappers, I believe Q2 2013. In the documentation I see that the ColorPicker has a preview flag that can disable the preview pane. This does not appear to be available in the MVC wrapper? Am I missing something?

Thanks
Dave Goughnour
Dimiter Madjarov
Telerik team
 answered on 27 Nov 2013
1 answer
61 views
Hello,

We see that tabbing doesn't work in Chrome on the grid control samples . We try to tab on header and page indexes in grid, but it doesn't hit on appropriate areas.
We admitted this behaviour in our application too (kendo v2013.2.716).
It is to be noted you may see this issue only in Chrome. 

Should we expect fixing of the mentioned above bug by new releases of kendo or maybe you can propose workaround? 

Thank you,

Best regards
Vladimir Iliev
Telerik team
 answered on 27 Nov 2013
1 answer
647 views
Hello,

In my Grid i have a column with 2 commands, which both use custom functionality like this.
{
  className: "btn-edit",
  text: "Bewerken",
  name: "edit",
  click: function (e) {
      e.preventDefault();
      var tr = $(e.target).closest("tr"); /* get the current table row (tr) */
      var data = this.dataItem(tr);
      CIX.CRM.Navigate('/businesses/' + data.ID, '/administration', data);
      }
},
{
  className: "btn-destroy",
  name: "destroy",
  text: "Verwijderen",
  click: function (e) {
               e.preventDefault();
               var tr = $(e.target).closest("tr"); /* get the current table row (tr) */
               var data = this.dataItem(tr);
               CIX.CRM.MessageDialog("Verwijderen", data.Code + ' - ' + data.Name, "Weet u zeker dat u " + data.Name + " wilt verwijderen ?",  [{ title: "Ja", action: _delete }, { title: "Nee", action: _cancelDelete }], data);
    }
 }

The problem is... when i give the 2nd command the name "destroy", the click event of that command is never called. When i give it another name, it doesn't show the destroy icon and leaves the inner span with an empty classname.

is there another way to have an icon with the destroy action without breaking the click event handler ?

Thanks in advance.


Petur Subev
Telerik team
 answered on 27 Nov 2013
1 answer
195 views
Hi!
I am using a ListView together with a template to show information to my users.
If the user presses an item in my listview, a new listview apperes showing sub data for the item the user pressed.
When I'm not using a template, a > sign is visible to the right, notifying the user that the item can be pressed.

How can I add this > sign to my template so it looks the same as the build in one?
My current template looks like this:

Regards
Per
<script type="text/x-kendo-template" id="feedTemplate">
    <div style="float:right">
        >
    </div>
    <img class="item-image" src="${ImageUrl}" />
    <h3 class="item-title">${Title}</h3>
    <p class="item-description">${Description}</p>
    <a href="\\#" data-role="button" class="delete">Delete</a>         
</script>
Alexander Valchev
Telerik team
 answered on 27 Nov 2013
1 answer
191 views
Hello, 
for design reasons i need to group by one column at time, there is a way to do it with the configurations? Or do it with some event bind?

I use MVC with kendo extensions.


Thanks,
Vladimir Iliev
Telerik team
 answered on 27 Nov 2013
1 answer
375 views
Hi,

I'm getting no where with trying to get this to work.

I need to be able to fill a ScrollView widget with images after the click of a button or some other event - not on the load of the page. 

So, my user logs in and upon login verification the widget is shown and filled with the user's images. I can not get the widget to display any images. Right now I am using a local JSON object for data but there will be a remote call to get the JSON object. (I have confirmed the JSON object works if the dataSource and widget is set up and initialized on page load like the DataBinding example for the ScrollView.)

I need to hook up the following dataSource to a Scroll View on a button click and I need to be able to update the data source and the scroll view on another button click:

var _ds = new kendo.data.DataSource({
            data: mzData,
            serverPaging: true,
            pageSize: 36,
            schema: {
                data: "images.image",
                total: "images.count"
            }
        });
_ds.read();

Here's a sample of my JSON:

var mzData = {
    "images": {
        "count": 101,
       " image": [
            {
                "thumbnail": "http://core.windows.net/photos/thumbnails/a7ebe-ed83-464b-8666-08579d0f4/4fa8dce2-5532-49b0-aca7-2bfce063e6c9/26874/357742050405162-1383426800383.jpg",
                "width": 1024,
                "height": 768,
                uri: "http://core.windows.net/photos/a7ebe-ed83-464b-8666-08579d0f4/4fa8dce2-5532-49b0-aca7-2bfce063e6c9/26874/357742050405162-1383426800383.jpg"
            },
            {
               "thumbnail": "http://core.windows.net/photos/thumbnails/a7ebe-ed83-464b-8666-08579d0f4/4fa8dce2-5532-49b0-aca7-2bfce063e6c9/26874/357742050405162-1383426800383.jpg",
                "width": 1024,
                "height": 768,
                uri: "http://core.windows.net/photos/a7ebe-ed83-464b-8666-08579d0f4/4fa8dce2-5532-49b0-aca7-2bfce063e6c9/26874/357742050405162-1383426800383.jpg"
            }
        ]
    }
};

I have tried several different things including:

 var mz1 = $("#mzScrollView").data("kendoMobileScrollView");
        mz1.dataSource.data(_ds);

And
$("#mzScrollView").kendoMobileScrollView({ dataSource: _ds });
and
$("#mzScrollView").kendoMobileScrollView({ dataSource: _ds.data });

Nothing works.

Can you please tell me how to hook up a Scroll View widget to a remote data source and display the data on an event like a button click? Also, I need to know how to update the same widget with other remote data. For example, I will show images in the widget that are public and with the click of another button I will show images that are private.


Thanks.
Petyo
Telerik team
 answered on 27 Nov 2013
7 answers
438 views
How can I scroll a list view with endless-scrolling="true" to the top? I tried this:
app.view().scroller.reset();
and it works to a point. The view scrolls to the top, but the list appears to be empty and any inertia continues to scroll the page down.

I don't have access to the particular list element as I'm trying to apply a generic function that works on every view no matter if there is a list view or not.

Cheers
Dean
Petyo
Telerik team
 answered on 27 Nov 2013
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?