Telerik Forums
Kendo UI for jQuery Forum
0 answers
103 views
Instead of having an in-line text box like feature when adding or editing on grid, Is it possible to create a popup like form when the buttons are clicked on the tool bar of the grid? Can someone direct me when i can find an example if it has been done before or possibly show me how its done?

Thanks Allot,
Hemchand
Top achievements
Rank 1
 asked on 06 Jan 2012
1 answer
268 views
Hi,

We are using the kendo validator and running into issues using input boxes in an array (name="something[]")
Using firebug to add the square brackets to the name on your own demos throws exactly the same error.

Strangely enough in one situation the array and validator do work together but in most they don't.
In the one situation that does work, I find it breaks with the same error if any field doesn't validate.
Where it always fails it does validate correctly if the array is removed.

I am a commercial customer so please let me know if a hotfix for this is released.

      1. Uncaught Syntax error, unrecognized expression: [data-for=drop[]]
        1. Sizzle.errorjquery.js:4241
        2. Sizzle.filterjquery.js:4227
        3. jQuery.fn.extend.findjquery.js:5401
        4. d.extend._validateInputkendo.all.min.js:11
        5. d.extend.validatekendo.all.min.js:11
        6. submitQuote

Rosen
Telerik team
 answered on 06 Jan 2012
3 answers
365 views
Hi,

The following code to do something when AutoComplete receives focus is not triggering the function specified when AutoComplete receives focus:

            function window_onload() {
                //pageLoad();
                document.getElementById("imgAjax").style.display = "none";
                window.focus();
                 
                $(document).ready(function() {
                    $("#go_autoCompleteInput").kendoAutoComplete({
                        separator: "  ",
                        minLength: 3,
                        dataTextField: "value",
 
 
.... othere code
 
                });
 
                go_autoCompleteInput = $("#autoCompleteInput").data("kendoAutoComplete")
 
            };
 
            function _autoCompleteInput_onfocus() {
                alert("'autoCompleteInput' 'onfocus' event just started executing.");
                go_CheckBoxContentAreaEnabled.checked = false;
            }

Can you tell me what I am doing wrong?

many Thanks,

Donald



Georgi Krustev
Telerik team
 answered on 06 Jan 2012
2 answers
180 views
Hello,

I am currently experiencing a problem with the animation of a modal window.

<div id="remove-window" class="window">
    <p>Wilt u  het geselecteerde item  verwijderen?</p>
    <button onclick="bsv.edf.web.client.grid.remove_confirm('/Service/PersonService.svc/json/Delete',bsv.edf.web.client.grid.removed)" class="k-button">Ja</button>
    <button onclick="bsv.edf.web.client.grid.remove_cancel()" class="k-button">Nee</button>
</div>
This is the window

// user wants to remove a select item
pub.remove = function () {
    var Object = bsv.edf.web.client.grid.getSelectedItem();
    if (Object != null) {
        $("#remove-window").kendoWindow({ resizable: false, title: "Item verwijderen", modal: true, actions: ["Close"] });
        var window = $("#remove-window").data("kendoWindow");
        window.center();
        window.open();
    }
};
 
// user wants to cancel the remove
pub.remove_cancel = function () {
    var window = $("#remove-window").data("kendoWindow");
    window.close();
};
the pub.remove is called when i want to delete an item
and the pub.remove_cancel is called when we cancel the remove
the remove_cancel is actualy behaving correctly the problem lies with the Close button in the top-right corner
When i press the Close button the window closes correctly with the correct animation but when i then open the window again with the pub.remove function the start gray-out animation doesn't display.
A. Drost
Top achievements
Rank 1
 answered on 06 Jan 2012
3 answers
159 views
When accessing the datepicker from an ipad, the ipad’s keyboard opens and it is difficult to use the calendar. I am unable to move to the next month. Is there a work-around for this?
Georgi Krustev
Telerik team
 answered on 06 Jan 2012
1 answer
99 views
How do I do this?  Don't see any examples or docs that would help with this.  Let's say I had a tabstrip and got the selected tab value, and I want to filter a grid based on that text value -- how do I do that?  The real question is how do I pass a value to the grid to filter on?
Atanas Korchev
Telerik team
 answered on 06 Jan 2012
2 answers
173 views
Hi,

In the Validator Basic usage, the "Amount" field is valid for min=1 and max=10.
When entering a number higher than 10, the validation message is "Amount should be smaller than 10".
I expected to have "Amount should be smaller than or equal to 10".
Kamen Bundev
Telerik team
 answered on 06 Jan 2012
1 answer
117 views
Giving a client such a quick and universal data access is a great feature of Kendo UI.

I fear, however, to let the client play too long with my data as this could corrupt my database if being fed back by different clients - can't lock the database for such long times.

Is there any chance to send back a note to the server (and maybe a push to all connected clients), that there are currently edited but unsaved data by a given client?

The next save action could probably remove that note. Nice to see that also Wordpress just implemented that feature last week...
underscore
Top achievements
Rank 1
 answered on 06 Jan 2012
2 answers
255 views
I am trying to bind JSON data returned from a ASP.Net web service to table, but could not do so.
Here is the code. where i am going wrong ? 

var template = kendo.template($("#template").html());
var dataSource = new kendo.data.DataSource({
        transport: {
            read: {
                type: "POST",
                url: "http://localhost:52300/WebService1.asmx/Movie",
                contentType: 'application/json; charset=utf-8',
                dataType: "json"
            }
        }
    });

dataSource.bind("change", function () {
        $("#movies tbody").html(kendo.render(template, dataSource.view()));
    });

 dataSource.read();


Where as template is , 

<script id="template" type="text/x-kendo-template">
                <tr>
                    <td>#= Rank #</td>
                    <td>#= Rating #</td>
                    <td>#= Year #</td>
                    <td>#= Title #</td>
                </tr>
  </script>


and web service us showing following data , 

<string xmlns="http://tempuri.org/">[{"Rank":5,"Rating":9,"Year":1995,"Title":"Titanic"},{"Rank":2,"Rating":5,"Year":1964,"Title":"Scent "}]</string>

any help please ?
Rick
Top achievements
Rank 1
 answered on 06 Jan 2012
6 answers
239 views
Hi,

I am creating a sharepoint webpart using kendo treeview, but the expand/collapse icons are not showed although the link to file sprite.png is correct. 

You can see it in the attached file.

What is the problem? Have anyone successfully used kendo treeview in sharepoint?

Thanks.
Thai
Kamen Bundev
Telerik team
 answered on 05 Jan 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
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
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?