Telerik Forums
Kendo UI for jQuery Forum
1 answer
111 views
Hi

I'm using an input with the "date" type to get the date settings options, which are really cool.

What I'm not sure about is how to get the date value out of the input.  Looking in the inspector, the value of the input does not change.

So how do you get the new value out?  Handle the change event or something?

Thanks
Iliana Dyankova
Telerik team
 answered on 15 Feb 2013
1 answer
126 views
In my grid, I do have a column as small image. I want to display a different image size as ToolTip. Is it possible in KendoGrid ? If so, could you please send me a sample code.

Thank you

.
										
Alexander Valchev
Telerik team
 answered on 15 Feb 2013
1 answer
1.5K+ views
Hi,
I have a set of rules like.
Allow to increase value ,
Allow to decrease value.

If we set above rules to false then I should prevent user increasing /Decreasing value from KendoNumericTextBox.

So how can I achieve this?

Code Example:

HTML Code:

<input class="inputMyCall" id="${Id}" type=number min=1 />

JS Code:
_InputMycallObj=$(".inputMyCall").kendoNumericTextBox({

         format: "#",

         spin: OnMyCallsChanged,

     }).data("kendoNumericTextBox");

Please advice.

Regards,
Shankar

 

Dimiter Madjarov
Telerik team
 answered on 15 Feb 2013
8 answers
666 views

Hello,

I have a ListView defined with a corresponding pager. I have my selection being applied similar to your selection demo and my issue occurs when paging through the list view items, after selecting an item, if navigating to a new page I would expect one of the following two scenarios to occur:

1) The selection is retained...Selected data and UI style selection upon return to page of items containing selected item
2) The selection is cleared....Selected data is cleared and UI style selection is removed from previously selected item upon return

What I am experiencing appears to be that the selected data is retained but the UI selection style is removed from the selected item upon return to page of items containing selected item.

This undesirable behavior can bee seen on your demo here:  http://demos.kendoui.com/web/listview/selection.html


Are the UI selection styles being intentionally cleared from the selected item when paging to a different page?


(I am aiming to toggle the enabled state of my 'Ok' button based on whether an item is currently selected or not...)


Thanks,
Lee


Iliana Dyankova
Telerik team
 answered on 15 Feb 2013
6 answers
599 views
if I bind to a nullable integer which has an initial value of null, the combobox always returns a null value value to the controller, even if a value has been selected. if I change it to work with a  standard integer, it returns the correct value, but it also sets an initial value in the list which I do not want.

thoughts?

no initial value, but not updating either: public int? QuoteId { get; set; } 
returning values as expected, but populating 0: public int QuoteId { get; set; } 

@(Html.Kendo().ComboBoxFor(m => m.QuoteId)
                  .DataSource(dataSource => dataSource
                                                .Read(read => read.Action("GetQuoteList", "Payment")))
                  .DataTextField("Text")
                  .DataValueField("Value")
                  )
Josiah
Top achievements
Rank 1
Veteran
 answered on 15 Feb 2013
3 answers
184 views
Hi,

I have a similar code as your sample (http://demos.kendoui.com/web/grid/editing.html)

@(Html.Kendo().Grid<Kendo.Mvc.Examples.Models.ProductViewModel>()    
    .Name("Grid")    
    .Columns(columns => {        
        columns.Bound(p => p.ProductName);
        columns.Bound(p => p.UnitPrice).Width(140);
        columns.Bound(p => p.UnitsInStock).Width(140);
        columns.Bound(p => p.Discontinued).Width(100);
        columns.Command(command => command.Destroy()).Width(110);
    })
    .ToolBar(toolbar => {
        toolbar.Create();
        toolbar.Save();        
    })
    .Editable(editable => editable.Mode(GridEditMode.InCell))
    .Pageable()
    .Sortable()
    .Scrollable()
    .DataSource(dataSource => dataSource        
        .Ajax()         
        .Batch(true)
        .ServerOperation(false)
        .Events(events => events.Error("error_handler"))
        .Model(model => model.Id(p => p.ProductID))
        .Create("Editing_Create", "Grid")
        .Read("Editing_Read", "Grid")
        .Update("Editing_Update", "Grid")
        .Destroy("Editing_Destroy", "Grid")
    )
)
When I tried to add a new record, the count is incremented (say from 6 to 7), but once I hit the Save button, the count goes back to 6. If I refresh the page, the count will be correct (7). Any idea on how to fix this? Thank you so much.
Rosen
Telerik team
 answered on 15 Feb 2013
2 answers
72 views
The ComboBox binding to remote data demo is broken.  When it tries to bind the combobox, it throws the error "Uncaught SyntaxError: Unexpected token > ".  This happens in both Chrome 26 and IE8.

I tried to submit a bug report about this, but kept getting server errors when I tried to submit.
Richardsonke
Top achievements
Rank 1
 answered on 15 Feb 2013
3 answers
188 views

I have this situation:

I have some Views and by default they have assigned a Layout for them. The problem is that in some specific cases, I need to change the Layout of some of these Views in the Javascript file.

I am using this way:

$("#tabstrip-dash").setAttribute('data-layout', 'mobile-tabstrip-layout2');

This solution works only if I reload the application, but I want to change it instantly.

Is there any way to set the new Layout?

Thanks!

Alexander Valchev
Telerik team
 answered on 15 Feb 2013
1 answer
223 views
Hi,

I encountered a problem with listview endless scrolling.
The endless scrolling stops working after refesh the datasource.

I made a jsFiddle http://jsbin.com/amifov/3/edit

Try to make an endless scroll action and then hit the refresh button.

Thanks,
Martin
Georgi Krustev
Telerik team
 answered on 15 Feb 2013
1 answer
179 views
Hi All,

Just wondering if there is an out of the box solution for my small but frustrating issue: 

I am plotting bubbles on a chart, that has a y-axis of, say, min 0 and max 200. If I plot a bubble at y-0 the bubble will naturally cover the x-axis, which is correct. However, the way my chart has been designed (drop shadow involved!), I do not want the bubble to cover the x-axis line, I need some sort of buffering so min y-axis value appears higher up, therefore the whole bubble can fit into the chart, within the x-axis.

Any advice would be appreciated!

Cheers
Chris
Alexander Valchev
Telerik team
 answered on 15 Feb 2013
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
Drag and Drop
Application
Map
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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
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
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?