Telerik Forums
Kendo UI for jQuery Forum
1 answer
487 views
Hello -

Is there a way to clear manually entered value or reset to defult value in kendo combox when entered value not found in combbox value list.  If yes would you give an example in razor please?


Thanks
Daniel
Telerik team
 answered on 15 Jul 2013
2 answers
93 views
I've been trying to make this work, but it's been very frustrating.

I'm using these two Kendo demos to work with remote data: This one and the stockdata example seen here.

I've created two WCF services (framework 4.0) and each returns exactly the same JSON object (checked with fiddler2) that is returned in the services consumed above. The only difference between the Kendo demos and my examples is the service being called (mine is running in localhost).

Anything is helpful.

Thanks.
Vaughn Myers
Top achievements
Rank 1
 answered on 15 Jul 2013
1 answer
371 views
Hi

I currently use this code to highlight a list item (after updating) - however i would like to scroll (smoothly if possible) to the item as well as highlighting it.



Is there an elegant way to scroll the listview to a specific item, ive tried scrollIntoView of the html element but it messes up my fixed headers.


highlightRow: function (listView, field, value)
        {
            setTimeout(function () {
                var items = listView.items();
                for (var i = 0; i < items.length; i++) {
                    var ele = $(items[i]);
                    var uid = ele.data('uid');
                    if (pev.isGoodString(uid)) {
                        var item = listView.dataSource.getByUid(uid);
                        if (item != null && typeof item != 'undefined' &&
                            item[field] == value) {
                            ele.find('.list-item').highlight();
                             
                        }
                    }
                }
            }, 500);
        }
 
 
jQuery.fn.highlight = function () {
 
        $(this).each(function () {
            var el = $(this);
            el.before("<div/>")
            el.prev()
                .width(el.width())
                .height(el.height())
                .css({
                    "position": "absolute",
                    "background-color": "#ffff99",
                    "opacity": ".7"
                })
                .fadeOut(3000);
        });
    }
Dimo
Telerik team
 answered on 15 Jul 2013
1 answer
128 views
I have a tabstrip with 5 tabs and want to have the content of the first two tabs be static but the final 3 be loaded via ajax when clicked on.  Is this possible and if so how?
Dimo
Telerik team
 answered on 15 Jul 2013
1 answer
196 views
I think this should be simple, I just can't quite seem to get it.  I have a TabStrip which I want to embed a grid into one of the tabs.  The grid should load dynamically from AJAX.  I have both working independently, but when I try to put the Grid into the TabStrip, I get no content.  I can see in firebug there is never a request being made for the content.

01.@(Html.Kendo().TabStrip() _
02.    .Name("tabstrip") _
03.    .Items(Sub(tabstrip)
04.        tabstrip.Add().Text("Delivery Tickets") _
05.            .Selected(True) _
06.            .Content(Sub()
07.                Html.Kendo().Grid(Of DeliveryTicketDisplay) _
08.                    .Name("Grid") _
09.                    .Columns(Sub(c)
10.                        c.Bound(Function(x) x.DeliveryTicketID)
11.                        c.Bound(Function(x) x.TicketDate)
12.                        c.Bound(Function(x) x.CustomerID)
13.                        c.Bound(Function(x) x.Location)
14.                    End Sub) _
15.                .DataSource(Sub(dataSource)
16.                    dataSource _
17.                    .Ajax() _
18.                    .Read(Function(reader) reader.Action("List", "DeliveryTicket", New With {.CustomerID = Model.CustomerID}))
19.                End Sub)
20.            End Sub)
21.                                                   
22.        tabstrip.Add().Text("Contacts") _
23.            .LoadContentFrom("List", "Contact", New With {.CustomerID = Model.CustomerID})
24.    End Sub)
25.)
Daniel
Telerik team
 answered on 15 Jul 2013
1 answer
122 views
I have a grid and I added a custom button, I want that button to call a function in my controller and pass the selected value in my dropdownlist. I can get it to call the controller correctly but I can't get the additional data I need to be sent as well.
.ToolBar(commands => commands.Custom().HtmlAttributes(new { id = "SendEmailStatements" })
    .HtmlAttributes(new { @CLASS = "sendBtn" })
    .Text("Send")
    .Action("SendBuyerEmailStatements", "Home", new { DayendCycle = SelectedDayendCycle})
)
SelectedDayendCycle is a javascript function that will return the selected item from the dropdownlist but it isn't recognized.
I was hoping I could do the same thing I do in the grid.
.Read(read => read.Action("BuyerEmailStatementsGrid_Read", "Home").Data("SelectedDayendCycle")

Dimo
Telerik team
 answered on 15 Jul 2013
4 answers
141 views
hi 
after making my app work just fine in android , using icenium and kendo ui, i am having difficulties to do the same in apple devices.
basically i am  using kendo datasource to read data from web service and update it.
it is looks like it ignoring $.get functions without alerting. any ideas why? what do i miss?
i set already the <access origin="*"... tag in config .xml but it still doesn't work
regards
 maor
Maor
Top achievements
Rank 1
 answered on 15 Jul 2013
0 answers
133 views
Hi, i have the problem with Kendo Editor and IE10. I have a page with Editor. When i type the text and trying to make it bold or change size the IE10 throws the exception below and reopen itself. The same is occured if i have already the text in the Editor and just click in the body.
Anyone has the same issue?

Problem signature:
Problem Event Name: APPCRASH
Application Name: IEXPLORE.EXE
Application Version: 10.0.9200.16635
Application Timestamp: 51b7a921
Fault Module Name: MSHTML.dll
Fault Module Version: 10.0.9200.16635
Fault Module Timestamp: 51b7b287
Exception Code: c0000005
Exception Offset: 00b79f02
OS Version: 6.1.7601.2.1.0.272.7
Locale ID: 2057
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Alex
Top achievements
Rank 1
 asked on 15 Jul 2013
2 answers
820 views
Hi,

How can I make the button shows the "loading.." when I click on a custom command button?

Thanks.
Jayesh Goyani
Top achievements
Rank 2
 answered on 15 Jul 2013
3 answers
109 views
Hi,
I have problem with template for grid.  When I get text from resources *.resx i recive "&#243;" in every place where is "ó" liter.
And because there is # i get invalid template. Can someone have this problem and know some solution?
Daniel
Telerik team
 answered on 15 Jul 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
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
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
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?