Telerik Forums
Kendo UI for jQuery Forum
1 answer
81 views
Hello all,

For a few hours I tried to create CRUD functionality but the only thing that I couldn't do was the create. In the attached file is the code I use. When I open the console I see the following error: Uncaught ReferenceError: tech_type_id is not defined.
Thank for the help in advance.


Rosen
Telerik team
 answered on 06 Feb 2012
3 answers
149 views
I'm trying to use the AutoComplete control in an unbounded list of table rows. When the user clicks an add button, a new row is added and a new AutoComplete is created within that row.

This works well enough, but I'm trying to figure out how to get a reference to the AutoComplete instance from within a change event handler. Actually, I'd like to get at both the AutoComplete object and the initial input control it is based off of.
Atanas Korchev
Telerik team
 answered on 06 Feb 2012
3 answers
372 views
Hi,

How can I enable or disable CRUD features in a grid based on a php session value? I have a typical user authentication system that allows, for example, users with admin privileges (user level = 1) to perform all crud operations on tables, users with user level 2 can only add and edit existing records, but can't delete records.

PHP sessions containing the user level are created on login, just like this site probably. How can I setup grids so that only certain user levels can delete records? Is there already user authentication built into the datasource or other UI widgets?

If not, I need to be able to enable or disable each CRUD operation type based on the value of a PHP session.....any ideas?

Thanks,

Tony
Nikolay Rusev
Telerik team
 answered on 06 Feb 2012
1 answer
122 views
Just wanted to mention that I had issues getting the back button in the navbar to work. It turned out that the docs had a typo, once I looked at the source of one of the navbar examples, it worked. The docs say to use "back-button" as data-role when it should be "backbutton".

http://demos.kendoui.com/mobile/navbar/index.html 
Petyo
Telerik team
 answered on 06 Feb 2012
1 answer
154 views
Hi,
what you've got in the beta is great..when are you going to bring out the date/time picker controls?

Regards
Roger
Petyo
Telerik team
 answered on 06 Feb 2012
7 answers
839 views
I create a popup window with kendoWindow() and add a datepicker in it (kendoDatePicker). But when i click the datepicker, the calendar is hidden under the window.

Is this a bug? sorry if this thread is existed.

Thanks!
Chu
Top achievements
Rank 1
 answered on 06 Feb 2012
0 answers
154 views
Hello,

I playing around with the validations and found it great.
I want to suggest some additions to its functionality.
1. hide the validation message after a specified amount of time
2. hide the validation messages when typing in...

Regards
Peter
Peter
Top achievements
Rank 1
 asked on 05 Feb 2012
0 answers
63 views
Thanks
Ben
Top achievements
Rank 1
 asked on 04 Feb 2012
0 answers
107 views
Could someone please explain how this works.  i.e. updates to the datasource both in terms of more items add and modifications to the idems added.

Many thanks
Ben
Top achievements
Rank 1
 asked on 04 Feb 2012
4 answers
284 views
In my cases, I need to assign additional field's value when user select a result from the hint list.  For example, 
<script>
    $(function () {
        $("#tCode").kendoAutoComplete({
            dataTextField: "Code",
            dataSource: [ { Code:"10", Name:"Jeffrey" }, { Code:"11", Name:"Jack" }]
        });
    });
</script>
<input id="tCode" /><input id="tName" />

When "10" is selected, tName's value should be "Jeffrey", when "11" is selected, tName's value should be "Jack".

Here is my suggestion: adding a select event in kendo.autocomplete.js
if (separator) {
    text = replaceWordAtCaret(caretPosition(that.element[0]), that.value(), text, separator);
}
//2012-01-18 by Jeffrey Lee
//when item is selected, trigger select event with data as argument
if ($.isFunction(that.options.select))
    that.options.select(data);
 
that.value(text);
that.current(li.addClass(SELECTED));

After adding the "select" event, it's quite easy to  implement the "field-linking" by add select parameter in options:
<script>
    $(function () {
        $("#tCode").kendoAutoComplete({
            dataTextField: "Code",
            dataSource: [{ Code: "10", Name: "Jeffrey" }, { Code: "11", Name: "Jack"}],
            //new "select" event triggered when hint item is selected
            select: function (data) { $("#tName").val(data.Name); }
        });
    });
</script>
<input id="tCode" /><input id="tName" />

Any feedback is welcome.
Jeffrey
Top achievements
Rank 1
 answered on 04 Feb 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
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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?