Telerik Forums
Kendo UI for jQuery Forum
1 answer
79 views
Any updates on this new feature that appears to be in beta? Decoupled Mobile widgets from Kendo UI Mobile application. I am looking for some documentation on what this means and if we can use AngularJS or Angular-Touch frameworks with Kendo Mobile UI.
Alexander Valchev
Telerik team
 answered on 06 Mar 2014
1 answer
111 views
When the my grid is popup edit mode, I need to get a value from the selected row in the edit event handler for the grid. "args.model.myFieldname" does not work. I can't seem to find a way to get a handle on the edited row data item I need.  I need to do this because when document ready fires in my popup, the data model is not yet loaded, but I need to use the value of one of the fields in the model to do some other things in the popup UI. I am sure this must be something simple, but I have not found the answer. Any help would be much appreciated.
Peter
Top achievements
Rank 1
 answered on 05 Mar 2014
4 answers
324 views

I noticed a nice and handy "toFront" function on the kendoWindow. I was wondering if there was something just as handy to send it to the back, but not behind the main page and still visible?

I due know I could just get the div(or whatever element the kendoWidget was initialized on) and set the z-index css to 0 (or some other low value), but I'm wondering if I may have over looked a much simpler way of doing that, like a "toBack" function?


Part of my reason for asking is that I have some older code which does not use Kendo UI, and it creates error dialogs using jQuery.dialog, but these dialogs appear behind the kendoWindow, and I need them in front. My current solution is to just close the window when an error happens, since I don't want to mess with z-index css.


Keith
Top achievements
Rank 1
 answered on 05 Mar 2014
1 answer
5.5K+ views
my gridcolumn is like that
        gridColumns: [
            {
                title: 'ID',
                field: 'ObservationId',
                width: '0', hidden: true
            },
            {
                title: 'School',
                field: 'SchoolName',
                width: '250px'
            },
            {
                title: 'Teacher Name(s)',
                field: 'TeacherName',
                width: '100',
            }]

if suppose screen is doing zoom then header should be wrap. Can we add something on this column.
Dimo
Telerik team
 answered on 05 Mar 2014
1 answer
246 views
Is it possible to set 

function initScheduler() {
        $("#scheduler").kendoScheduler({
            date: new Date("2013/6/26"),
            startTime: new Date("2013/6/26 07:00 AM"),
             height: 100%,
            views: [
..................
Dimo
Telerik team
 answered on 05 Mar 2014
3 answers
462 views
Is there a way to add the pager to an Auto-Complete Box?  In the Auto-Complete demo I see pageSize set to 20 and serverPaging set to true, but it's not clear how to invoke paging.  

What would be nice is if I could add the kendo-ui pager to the bottom of an auto-complete.  
Dimo
Telerik team
 answered on 05 Mar 2014
3 answers
71 views
Centered should be a configuration property of KendoWindow
Dimiter Madjarov
Telerik team
 answered on 05 Mar 2014
10 answers
649 views
I am struggling getting the following to work:

<div>

    <input id="searchSomething" />

</div>

<script type='text/javascript'>

    $(document).ready(function () {

        $("#searchSomething").kendoAutoComplete({

            minLength: 3,

            dataTextField: "Name",

            dataValueField: "Id",

            dataSource: {

                transport: {

                    read: "Service/Search",

                    dialect: function (data) {

                        return { wildcard: $("#searchSomething").val() };

                    }

                }

            }

        });

    });

</script>


 Action method:

  public class ServiceController : Controller

    {

        public ActionResult Search(string wildcard)

        {

            return Something;

        }

    }


My problems are:

1. wildcard is always null.

NOTE 1.1: By the way, the action method 'Search' is correctly called (of course after typing 3 characters)!
NOTE 1.2: If I directly call the action method from the browser the wildcard is correctly filled.
 
2. what should the ActionResult return?

In other words I am looking for a working example.

Thanks for any help!
Atanas Korchev
Telerik team
 answered on 05 Mar 2014
4 answers
132 views
I have an issue where my list view:

1) Does not display the appropriate number of items set for the page size.  It displays 1/2 of the set items.
2) The loading twirly displays 100% of the time.
3) When attempting to scroll the list view, sometimes the list view gets stuck further down the view that what it should.

Are there any known issues that would be causing these problems with 2013.3.1119?

I'm not doing anything special.  Here's the code:

@(Html.Kendo().MobileListView<VINspinAppsMobile.Web.Areas.CRM.Models.Leads.SelectLeadListViewModel>()
    .Name("SelectLeadListView")
    .TemplateId("SelectLeadListViewTemplate")
    .EndlessScroll(true)
    .ScrollTreshold(30)
    .Filterable(filter => filter.Field("DisplayName").Operator("startswith"))
    .DataSource(dataSource => dataSource
        .Read(read => read.Url(Url.GetUrlRoot() + "/CRM/Leads").Data("additionalData"))
        .PageSize(10)))

<script type="text/x-kendo-tmpl" id="SelectLeadListViewTemplate">
    <a href="@Url.GetUrlRoot()/CRM/Leads/EditLead?leadId=#=LeadId#">#:DisplayName#</a>
</script>
 
<script>
    function additionalData() {
        return {
            allOwners: true,
            ownerId: null,
            leadStatusId: null
        };
    }
</script>

Kiril Nikolov
Telerik team
 answered on 05 Mar 2014
1 answer
245 views
I have the following RAZOR code:

            @(Html.Kendo().DropDownListFor(m => m.AssociatedWithType)
            
                .Events(x => x.Select("AssociatedWithSelected"))
                .Value(ViewBag.AssociatedWithTypesId)                
                .BindTo(ViewBag.AssociatedWithTypesSelectList)
            )

            @(Html.Kendo().DropDownListFor(m => m.AssociatedWithId)
                .BindTo(ViewBag.AssociatedWithIdsSelectList)
            )

and the following jQuery:

        AssociatedWithSelected: function(e) {
            var dataItem = this.dataItem(e.item.index());

            var associatedWithIdsDropDown = $("#todoAddEditDialogForm #AssociatedWithId").data("kendoDropDownList");
            var url = settings.getAssociatedWithIdsUrl + "?associatedWithType=" + dataItem.Text;
            associatedWithIdsDropDown.dataSource.read({
                url: url
            });
        }


What I would like to do is initially bind the 2nd dropdownlist to the SelectList in my ViewBag, then bind it from the server if the first dropdown changes value.

The initial BindTo is working fine, but the jQuery .dataSource.read isn't doing anything.  I suspect I need to attach a dataSource to the dropdown in the jQuery somehow, but I'm not sure how.

How do I accomplish this?
Daniel
Telerik team
 answered on 05 Mar 2014
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
AICodingAssistant
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?