Telerik Forums
Kendo UI for jQuery Forum
7 answers
273 views
Hello, i have implemented a ListView which is shown inside an expandable area of a Grid.
The preview of the list data seem to fine. The problem starts when i go on the edit mode of the ListView and try to alter some values.

When changing a value on a field of the ListView and click somewhere outside of the field the expandable row collapses. This creates the problem that i do not manage to press on the "Save" button and call my own function.

I have created a jsFiddle Example of this problem. To reproduce it do the following steps:
1) Expand one of the rows
2) Press on "Edit" button
3) Change the "Product Name" field value
4) Press outside the input area.

As you will notice the row immediately collapses.

Thank you in advance
Nikolay Rusev
Telerik team
 answered on 05 Sep 2013
1 answer
279 views
Is there a way to disable the selection of the first element in a ComboBox  when I press Enter in it (was empty and not open)?

It's something that was change in one of the two last version.
Georgi Krustev
Telerik team
 answered on 05 Sep 2013
3 answers
577 views
Hi there,

I have a grid with pageable option:

totalItemsInDb = null;

        pageable: pageSizes:
            [10, 50, 500, totalItemsInDb]
         },

 

After the grid is created I want to change the last on to
some specific number which is a result from the datasource call.

 dataSource: {
            change: function(e) {
                //totalItemsInDb = this.total();
            },
 

$("select[data-role='dropdownlist']").children("option").eq(3).val(totalItemsInDb);

$("select[data-role='dropdownlist']").children("option").eq(3).text("some string");

 

However, the change is not getting reflected on the pageable
drop down. If I inspect with dev tools I can see that the value and the txt are
changed, but they are not visible to the user. I tried to do .refresh() on the
grid but no change is visible. Any advice

Thank you
Kiril Nikolov
Telerik team
 answered on 05 Sep 2013
2 answers
107 views
I've been playing with the bubble charts recently.  
When using static data, there is no problem, but when connecting to my dataset the maximum values for both x and y are set to 1.

When this happens my visuals are off screen. 
If I set the axis majorUnit to 5000, some of my categories become visible.. but I have no grid lines displayed other than 0 and 5,000.
BaseUnitStep: "fit" or "auto" have no effect.

Thanks,
-Stephen

Stephen
Top achievements
Rank 1
 answered on 04 Sep 2013
2 answers
80 views
Primarily, we have an issue where our select function is not being triggered after a user has selected a file. 
$('#file').kendoUpload({
        async: { ... },
        select: function (e) {
            // Do things in here
        }
    });
As shown above, the elemental bindings are conjured. In all cases to date, the select function works as expected. I've even dug around to prove that the kendoUpload object does, in fact, have the select property set. Problem is, as our QA just pointed out today, nothing ever happens in IE8 when a user makes a selection. I was hoping the fix would be something on my end, however it appears as though there's something more to it and I'd like to pose this to you and your team.  Thanks.

beauXjames
Top achievements
Rank 2
 answered on 04 Sep 2013
5 answers
120 views
Hey,

I have this use case:

On the server I have a JSON file that changes (for example) every 15 minutes.
The client typically leaves his browser open and wants to see the changes as fast as possible.

On the server I solved it this way:
When getting the json file, the server uses a http 304 to indicate that the file hasn't changed since the last request.


Client side I solved it this way:
 I have a kendo datasource, and an interval that is doing  datasource.read   (polling mechanism):

Problem:
The data isn't changed, but still the "change" event of the datasource is triggered.

Is there any way of achieving this with kendo datasource, without reprogramming the entire datasource with $.ajax?

Or is this maybe a good feature request :-) ?
As an extra: I don't want to use polling, but look at the Expires http header, to know when to do the next request.

My code:
01.var datasource = new k.data.DataSource({
02.    transport: {
03.        read: {
05.                url: 'test.txt',
06.                dataType: 'json'
07.            }
08.        },
09.    schema: {
10.        data: function (data) {
11.            return data.Layers || [];
12.        }
13.    }
14.});
15. 
16.//polling..
17.var _interval = window.setInterval(function () {
18.        datasource.read();
19.}, 5000);
20. 
21.datasource.bind('change', function (e) {
22.    //This shouldn't be triggered every 5 seconds
23.    console.log(this.data().length);
24.});
The response received from the server looks like this:

HTTP/1.1 304 Not Modified
Last-Modified: Mon, 02 Sep 2013 08:02:11 GMT
Expires: Mon, 02 Sep 2013 08:15:00 GMT
Accept-Ranges: bytes
ETag: "383bbbab2a7ce1:0"
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Mon, 02 Sep 2013 09:23:10 GMT
Kind regards,
Dierik Vermeir
Top achievements
Rank 1
 answered on 04 Sep 2013
5 answers
346 views
Hi Kendo Team,

We are using Kendo UI (Free download version) for our ASP.NET + CRM support application
development.
Kendo Grid and Datepicker are the controls we are facing issues with.

 1) Grid cell edit does not work in IE8 browser but in Chrome browser
If you are editing Grid cell and hit TAB key or ENTER key, cell wont persist the newly added values while in IE8 but it will persist the newly added values if you are using Chrome.
If cell is of numeric type then while editing Increment and Decrements option within cell are not coming in IE8 but in chrome.

2) Date picker is not working in Kendo window We are placing Date picker control along with some other html controls in a div and assigning that div to Kendo window. On click of Date picker icon it is failing to open Date popup in any browser. Whereas we have Date picker in parent window and which is working absolutely fine there but not in kendo window (child modal window)

Please suggest us 
some solution on this to make it working.

--Thanks,
RP
Kiril Nikolov
Telerik team
 answered on 04 Sep 2013
1 answer
147 views
is there a way to tie autocomplete to listview results? What I'm trying to do it to use autocomplete search box, and as results come in, populat listview.

thanks
Alexander Popov
Telerik team
 answered on 04 Sep 2013
1 answer
76 views
First, let me say that I have a background in ASP.Net  web development and have quite a bit of experience writing iOS client side apps in objective c and c# (via xamarin).

I have a client who wants us to start a mobile web site for them but doesn't quite feel comfortable going client side at the moment.  If this project is successful, they may decide to go to a full blown client side iOS app.  If I write the app using Kendo UI Web (HTML5), is there a clear migration path to Kendo UI mobile?
Dimo
Telerik team
 answered on 04 Sep 2013
3 answers
228 views
Hello,
I've got a problem with a page inside a Kendo ui page...
consider this code please

That's my main page calling a window
@{
    ViewBag.Title = "Index";
}
 
<h2>
    <button id="button" class="k-button">openWindow</button></h2>
 
 
 
@Html.Kendo().Window().Name("winTest").LoadContentFrom("Index", "TestWindow").Modal(true).Visible(false).Title("Prova");
<script>
    $(function () {
 
        $("#button").click(function () {
 
 
            $("#winTest").data("kendoWindow").open();
        }
        );
    });
</script>
Here's the content of the window I load
@{
    ViewBag.Title = "Index";
    Layout ="";
     
}
 
@using (Html.BeginForm("Inserisci"))
{
    <h1>Some text</h1>
    <input type="submit" value="Click me" class="k-button" />
}
And the test controller

public class TestWindowController : Controller
   {
       //
       // GET: /TestWindow/
 
       public ActionResult Index()
       {
           return View();
       }
       public EmptyResult Inserisci()
       {
           return null;
           //return EmptyResult
       }
 
   }

When I click on the button the main page is redirected to Index of TestWindow..... how can I fix this?

Another question how do I tell to the view inside the window to close itself after having done some update on the repository?

Thanks
Daniel
Telerik team
 answered on 04 Sep 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
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
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
+? 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?