Telerik Forums
Kendo UI for jQuery Forum
1 answer
104 views
Hi,
We are experiencing a bug in our application using calendar on IPad. 
We have code in the "change" event. When pressing on a date gently - this code is executed correctly.
But if we delay the touch for a second longer - the whole page is refreshed. 

This happens in the demo site too - I browsed in the IPad to the calendar demo. I scrolled down so that the calender is centerd on the page. When pressing gently on different dates - they change accordingly. When pressing longer - the page is refrsehed and I lose my scrolled position (and the chosen date is highlighted).

Tested on Safari, IOs 5. 

Please help,
Thanks,
Tamar
Petur Subev
Telerik team
 answered on 09 Nov 2012
7 answers
1.9K+ views
Customer wants a popup when performing a batch inline edit on the grid for column X value to be checked and either cause a validation error or not depending on clicking Yes or No on a confirmation popup.  

Basically:  if x == 40 then ask "This could be conflicting, do you want to update any way? Yes or No"  
if yes then continue (allow them to save)
                        if no then set validation error  (for them to change it before saving)

I've tried using confirm() and alert() however there is a bug that causes the e.sender.editor in my Save event to become null after the alert/confirm popup occurs (I'm guessing timing, because this is inconsistent).  This looses all my grid updates (no more modified triangle).  I am not that savvy at debugging actual javascript, so I went down another path of trying to replace them with the Kendo UI Window.  Now my problem is that I need the script to pause for an answer from the Ok or the Cancel so that I can present the proper validation error (or not) in the grid.

If I setup an event for on "No", it triggers after the grid stops edit mode and I can't be sure which field was being edited since the names/id/class are all the same post edit mode.

Any ideas/suggestions?
Alexander Valchev
Telerik team
 answered on 09 Nov 2012
0 answers
128 views
Hello, I wanted to load the grid with data coming from server. I know how to do it on Ajax like datasource.Ajax().Read("Action", "Controller") but I don't want it to use ajax, I just want to use server binding. I found a Server() when looking in intellisense, I tried using Server().Read("Action", "Controller") but the grid is always empty..

Is it possible to do it using the above server binding not the one passing the model when loading the grid in Controller?

If it is, what am I missing?

Thank you and hoping that my question will be answered unlike those several threads that I created in the past that doesn't get answered at all. 
Wonderer
Top achievements
Rank 1
 asked on 09 Nov 2012
5 answers
151 views
Is it safe to initialize a panel bar multiple times?  For example, could I do this?

$('#panelBar').kendoPanelBar();
 
// ... later after dom update ...
 
$('#panelBar').kendoPanelBar();
Robert Bross
Top achievements
Rank 1
 answered on 09 Nov 2012
2 answers
493 views
Hello,

I am having some issues with the kendo Grid.

1. icons in the grid are not displaying filter icons next to header and next prev icons in the pagination
2. grid basic functionality not working like sorting, grouping etc.

Regards,
Ravi

code:

@{Html.Kendo().Grid((List<BNYM.EnSIS.Pricing.Contract.VendorPricingGridResponse>)ViewData["PricingGrid"])
.Name("PricingGrid")
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(25)
.Batch(true)
.ServerOperation(true)
.Model(q => q.Id(m => m.ProductID))
.Model(q => q.Id(m => m.CurrencyCode))

)

.Columns(columns =>

{
columns.Bound(m => m.Category).Title("Category").Width(90);
columns.Bound(m => m.ProductID).Title("ProductID").Width(140);
columns.Bound(m => m.CurrencyCode).Title("USD").Width(50);
})

.Resizable(resizing => resizing.Columns(true))
.Scrollable(scrolling => scrolling.Enabled(true).Height(600))
.Sortable(sorting => sorting.Enabled(true))
.Groupable(grouping => grouping.Enabled(true))
.Filterable(filtering => filtering.Enabled(true))
.Reorderable(reorder => reorder.Columns(true))
.Pageable(Pageable => Pageable.Enabled(true).PreviousNext(true).Input(true).PageSizes(true).Refresh(true))
.RowAction(row => row.HtmlAttributes.Add("data-id", row.DataItem.ProductID))
.RowAction(row => row.HtmlAttributes.Add("data-id", row.DataItem.CurrencyCode))
.Selectable(s => s.Mode(GridSelectionMode.Single).Enabled(true))

 
.Render();

}

Ravi
Top achievements
Rank 1
 answered on 09 Nov 2012
1 answer
1.0K+ views
I know how you can set the title of a chart when you first create it:

$("#chart").kendoChart({
    title: {
        text: "Players in Error"
    },
   /* etc */


but is there any way to change it afterwards?

I've tried this:

var chart = $("#chart").data("kendoChart");
chart.title = { text: kendo.toString(queryDate, "dddd MMMM d, yyyy") };
chart.refresh();


but it doesn't have any effect.


Iliana Dyankova
Telerik team
 answered on 09 Nov 2012
0 answers
149 views
Hi all,

i'm using the latest Community version of Kendo UI Web and i'm trying to destroy a grid with method destroy, but i always get

Uncaught TypeError: Object [object Object] has no method 'destroy'
I search the sources but i cannot find that method...

Maybe in the community version there is no method destroy?

Thanks for your replies!
Marco
Top achievements
Rank 1
 asked on 09 Nov 2012
1 answer
224 views
Hi,

is it possible to remove the bottom border only on the selected item in a menu (something like in tabstrip)?

Thank you
Matteo
Top achievements
Rank 1
 answered on 09 Nov 2012
2 answers
157 views
I'm having an issue where clicking the Back button causes the slide animation to occur twice.  I've been able to reproduce the error in a simple example, please see the following jsFiddle:

http://jsfiddle.net/Jjvm7/

If you click "Go to next page" on the first two pages, then click the "Back" button on the last page, you'll notice that the animation happens twice before displaying the second page again.

Any ideas?
Petyo
Telerik team
 answered on 09 Nov 2012
1 answer
164 views

Greetings.

I have the following problem, I want to load data into a ComboBox in my service WCF (. Svc). But not charging anything, the only difference I see is the one you selected in the attached images.

The difference is in the type:
In the example website <text/javascript>
In my website <application/xml>

The result running on the website. It is the image (servicio de ejemplo)
Sample code:

<script>

                $("#categories").kendoComboBox({

                        placeholder: "Select category...",

                         dataTextField: "CategoryName",

                        dataValueField: "CategoryID",

                        dataSource: {

                            type: "odata",

                            serverFiltering: true,

                            transport: {

                read: "http://demos.kendoui.com/service/Northwind.svc/Categories"                                

                            }

                        }

                    });

</script>


The result running on the website. It is the image (mi servicio)
My code:

<script>

                $("#categories").kendoComboBox({

                        placeholder: "Select category...",

    dataTextField: "Status",

                        dataValueField: "AcquisitionNo",

                        dataSource: {

                            type: "odata",

                            serverFiltering: true,

                            transport: {

            read: "http://192.168.0.125/SAGDataService1.svc/vwInventoryHeader"

                            }

                        }

                    });

              </script>


It gives me no error just not charge me anything.
I need help please
thanks



Jayesh Goyani
Top achievements
Rank 2
 answered on 09 Nov 2012
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
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?