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

      How to set the width of kendo Scheduler Add/Edit Popup window ?
Dimiter Madjarov
Telerik team
 answered on 16 Aug 2013
1 answer
120 views
In MVC I have the grid bound to a set of client functions:

                                      .Events(builder => builder
                                          .ColumnHide("columnHideKendo")
                                          .ColumnShow("columnShowKendo")
                                          .ColumnReorder("columnReorderKendo")
                                           )


However, the Hide and Show do not fire when I remove or add a column via the filter menu (see screenshot)

Is there another way to be notified if the user has removed a column?

The Javascript functions look like this:

function columnHideKendo(e) {
    setTimeout(function() {
        e.sender.trigger("dataBoundKendo");
    });
}
 
function columnShowKendo(e) {
    setTimeout(function() {
        e.sender.trigger("dataBoundKendo");
    });
}

Dimiter Madjarov
Telerik team
 answered on 16 Aug 2013
1 answer
937 views
I have a grid with pages which I need to be able to print all at once in one line list of data.

Is there a way to tell the Grid to either re-render with no paging, print, then go back to paging, or to print all data without the paging auto magically?

The user wants the full data printed at once, but likes Paging when using the data on the screen.
Alexander Valchev
Telerik team
 answered on 16 Aug 2013
3 answers
217 views
We are already using Kendo UI Mobile with Icenium to build our mobile apps, which works great.

But now, for a different project, we are building client websites that have a desktop version and a mobile version. The desktop version is already done, and we used Bootstrap 2.3.2 and Kendo UI Web as frameworks.

Now we are working on the mobile version of the website. Note, this is not meant to be an app; it is simply meant to be the website that appears when someone browses to our client's website from a mobile device.

Can Kendo UI Mobile be used for websites built for mobile browsers and not apps? I guess I'm confused as to how to use Kendo UI Mobile with a mobile browser website. We don't want to use Kendo's routing and such, since we are using MVC 4 controllers/views to deliver pages. On the product description page, it says "Automatic layout system" is a feature. So am I supposed to use Kendo UI Mobile exclusively to design the mobile website? Does it do positioning and such like Bootstrap does, or do I need to use Bootstrap in addition?

Any guidance is appreciated! Thanks.
Nikolay Rusev
Telerik team
 answered on 16 Aug 2013
1 answer
199 views
Hi,

I have a master detail grid. The detail grid has a column which needs to be populated with a dropdown that contains values which change depending on the master row selected.

I tried using an editor template as shown below, but the data does not get populated in the drop down:

<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<MyProject.Models.ProductParentHierViewModel>" %>

<%:Html.Kendo().DropDownListFor(d => d)
                .Name("ProductParentHier")
                .OptionLabel("Select")
                .DataValueField("ProductID")
                .DataTextField("ProductHier")
                  .DataSource(source =>
                  {
                      source.Read(read =>
                      {
                          read.Action("GetProductHier", "Product", new { ProductVersionID = "#=ProductParentVersion.ProductParentID#" });
                      });
                  })
 %>


How would I achieve this?

Thanks,

Sherly

Daniel
Telerik team
 answered on 16 Aug 2013
3 answers
100 views
Dear Sir,
               i'd two Pages and i'd use i frame tag which call the another page and i'm afraid 
i did not refresh the treeview datasource from the 2 page i.e Iframe page
via button click 
could you send me some samples for above problem
Alexander Valchev
Telerik team
 answered on 16 Aug 2013
3 answers
201 views
I am v2013.1.319

I have a kendo tab strip with 4 tabs, each has a separate grid. The first grid shows fine tab(0), the other three grids have their bottoms off the bottom of the tab. All of the grids are almost identical. I changed the first grid to the second position and the problem was the same the first grid was ok, the rest were off.

I added 
var ts = $("#tsCodesIndividual").data("kendoTabStrip");
and a
ts.select(0) before the first grid
ts.select(1) before the second grid and so on.

It now displays fine. A full example of a grid is below, the only real difference is the datasource:
    ts.select(1);
    tg.myServiceCodesViewModel = kendo.observable({ data: tg.myServiceCodes });
    delete tg.myServiceCodes;
    $("#codesIndividualServiceGrid").kendoGrid({
        dataSource: {
            data: tg.myServiceCodesViewModel.data,
            schema: {
                model: {
                    fields: {
                        custCode: { type: "string" },
                        tgCode: { type: "string" },
                    }
                }
            }
        },
        pageable: {
            pageSize: 10
        },
        height: 400,
        toolbar: ["create", "save"],
        columns: [
            { field: "custCode", title: "Code", width: "180px" },
            { field: "tgCode", title: "Service", width: "160px", values: tg.dlService },
            { command: "destroy", title: " ", width: "90px" }
        ],
        editable: true,
        resizable: true,
        reorderable: true,
        saveChanges: function (e) {
            if (!confirm("Are you sure you want to save all changes?")) {
                e.preventDefault();
            }
        },
    });

The tabstrip is extreamly basic:
    $("#tsCodesIndividual").kendoTabStrip({
        animation: {
            open: {
                effects: "fadeIn"
            }
        }
    });

Vladimir Iliev
Telerik team
 answered on 16 Aug 2013
1 answer
156 views
Hi all,

I want to create an Inline Editing Template using kendoUI webform Grid. After the Edit/Add button pressed i want to have a row which has just one column, and stretched whole the row.

I do not want to have the columns in the Editing/Adding mode as same as Show mode.

The Picture that has been attached can show my mean precisely. 

Thanks.
Alexander Valchev
Telerik team
 answered on 16 Aug 2013
8 answers
947 views
Hi

How can I manage the back button in the navbar?

for example, I don't want to show the button in the main views and when user click a link to sub view I would like to show him the button

I tried using "data-show" call a function that will use jquery to show/hide the back button but the problem kendo will change the navbar title and button 


Iliana Dyankova
Telerik team
 answered on 15 Aug 2013
5 answers
158 views
Is it possible to configure the validation messages to be displayed without breaking the layout? i.e. to be displayed with a z-index or somehow so that things "below" them won't get shifted ? (maybe in the form of sticky tooltips?)

regards
Petyo
Telerik team
 answered on 15 Aug 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?