Telerik Forums
Kendo UI for jQuery Forum
2 answers
95 views
I'm trying to do a simple input validation with a text and password that is binded to a view-model, basically both are required.
When kendo.validator is triggered it only validates the text input and not the password input.

Is there anything that im doing wrong? Please help check the attached code.


Reggie Pangilinan
Top achievements
Rank 1
 answered on 18 Sep 2013
1 answer
62 views
Hi All,

I was implemeting a table html tag in the Icenium designer though the application works it is still throwing a error in the Icenium designer . Please let me know any solution for this as the table tag is important in my design of the application.

Thanks

Gaja Naik
Steve
Telerik team
 answered on 18 Sep 2013
10 answers
990 views
Hi,

I've browsed through the Kendo Styling documentation and found many simple ways to style my regular, hum-drum forms. However, I was wondering if there is a way to apply the ComboBox styles to  MVC Helpers like DropDownListFor() and so on? I use MVC Helpers on a lot of my forms and would like to be able to standardize my Text and Dropdown lists to look the same.

I've tried applying the Kendo classes to my DropDownList's directly like this:
@Html.DropDownListFor(model => model.AccountTypeID, new SelectList((System.Collections.IEnumerable)ViewBag.AccountTypesDD, "Key", "Value"),
new { @class = "k-combobox" })
I've attempted to attach classes like "k-combobox, k-dropdown-wrap ect." but nothing styles the DropDownList to mimic the Style of a Kendo ComboBox. 

I understand that this is probably because most of the Kendo Styles require layered <span/> tags to apply properly, but was wondering if there is an out-of-the-box way to apply them to MVC Helpers?

Thanks
Landon
Dimo
Telerik team
 answered on 18 Sep 2013
1 answer
76 views
I am developing a test app to try out kendo ui mobile.
The app has 3 main models which are present in the url : Organization, Shop, Category
Everything seems to be alright when I visit appdomain.com/categories or appdomain.com/organizations or even appdoman/organizations/1.
(Although the Home tabstrip button gets activated when I go to  appdoman/organizations/1 but it still takes me back to the apps homepage if I click on it. )
The problem comes when I go deeper. Like appdomain.com/organization/1/category/2/shops or appdomain.com/organization/1/category/2/shops/1
When I visit those, TabStrip thinks from that point on that they are the homepage, the root url  and messes up my whole nav structure.

What is the proper way to use rails nested routes with Kendo UI mobile so they won't effect the tabstrip nav in a negative way?

UPDATE
It seems that I had to remove the rails route helpers, and construct the urls differently.
So instead of:
<a href="<%= organizations_categories_shops_path(@category) %>">

I use:
<a href="/#/organizations/<%= @organization.id %>/categories/<%= category.id %>/shops">
You surely notice that I had to append /#/ manually at the beginning of these deeply nested urls to make it work. Still need to find out why, and where it is needed exactly.
Petyo
Telerik team
 answered on 18 Sep 2013
1 answer
1.5K+ views
I have a hierarchy Grid. The child grid has complex values used to define the columns. I need to do a conditional when defining what to display in the "Value" column. "Value" is of type NotificationEventConditionValueViewModel, which is defined as:


public class NotificationEventConditionValueViewModel
{
public string ValueString { get; set; }
public System.DateTime ValueDate { get; set; }
public bool ValueBoolean { get; set; }
}

In my child grid I am trying to do a conditional based on the type of Value, something like the following:

columns.Bound(e => e.Value).Title("Value").ClientTemplate("\\#if(NotificationEventConditionField.FieldType.Id == 5){\\#=Value.ValueBoolean\\#}else{\\#=Value.ValueString\\#}\\#").Width(80).HeaderHtmlAttributes(new { style = "font-weight: bold;text-decoration: underline;" });

The
"\\#if(NotificationEventConditionField.FieldType.Id == 5) evaluates fine, but the
{\\#=Value.ValueBoolean\\#} does not show the value I want, instead it show the string: #=Value.ValueBoolean.

Can you please help me to determine what I am doing wrong in the syntax. I am attaching some files. In the COnfigure.cshtml look for Grid "UDEGrid_#=Id#" which is the child grid, and Grid "notificationGridUDE" which is the parent grid. A am also attaching the view models.
Thank yoy very much in advance.
Alexander Valchev
Telerik team
 answered on 18 Sep 2013
3 answers
138 views
Hi,

I use splitter.ajaxRequest to load content dynamically using MVC 4. Since I have the exact same problem, I found this thread:
Error in splitter.ajaxrequest  (Only writing here, because the other forum is marked as depricated)

Is there a solution by now or anything planned in a future release?

Best regards
KRichter
Top achievements
Rank 1
 answered on 18 Sep 2013
7 answers
866 views
Hey there, I am a new Kendo UI Complete subscriber, and am having a bit of trouble with the "Validation" tool, specifically in reacting to it.

I have combed the documentation for a long time and cannot find anywhere that it shows how to subscribe to get notified when an input is validated (validateInput) or when validation has actually been performed ("validate").

I attempted to browse through the source code for this, as well, but was unable to discover anything.

I have tried simply subscribing to "validate" and "validateInput", but it seems as if there is never any kind of event triggered when these happen.

I need to be capable of responding to these behaviors, so is there anything that I can do?
Kiril Nikolov
Telerik team
 answered on 18 Sep 2013
0 answers
138 views
i have no problem
wenlung liang
Top achievements
Rank 1
 asked on 18 Sep 2013
0 answers
129 views
Hello, I am trying to make a simple stack chart. The problem is the colors on the legend aren't showing the right color for the chart.

I tried changing the color names to HEX and RGB but it still doesn't give me the right colors. I guess it reverts to the default.

Here is an example of the code on jsfiddle:
http://jsfiddle.net/SupremeA1/Cke4n/54/
Steven
Top achievements
Rank 1
 asked on 17 Sep 2013
2 answers
126 views
I have an employees table that is binding to a TreeView. I then need to display the employee information when a node is double clicked on. Is there a way to pass the Id of each object that is displayed in the TreeView to a data-id attribute in the span tag that displays them?
Rodney
Top achievements
Rank 1
 answered on 17 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
Drag and Drop
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?