Telerik Forums
Kendo UI for jQuery Forum
0 answers
146 views
I have this bug in Telerik ASP MVC extensions but apparently Kendo UI inherited it from MVC extensions
Steps to reproduce:

1) go to http://demos.kendoui.com/web/editor/api.html
2) set value 
<div style='background-image:url(http://demos.kendoui.com/content/shared/styles/sprite.misc.png)' >test</div>
3) click get value button

Expected value is
<div style='background-image:url(http://demos.kendoui.com/content/shared/styles/sprite.misc.png)'>test</div>
but instead we get 
<div style="background-image:url(http;">test</div>



Marcin
Top achievements
Rank 1
 asked on 05 Nov 2012
2 answers
143 views
Disclaimer. While this post is done here I think this idea applies to all Telerik Products.

Most of us here are Coders and not Designers. There are however tons of good designers around so I thought Telerik could try something I thought of.

Maybe you guys have heard of the Site Themeforest and it's sister sites. This is a great resource for us who are design handicapped (somewhat at least).

So this is my idea.
Why not encourage all those great designers to create themes not only for KendoUI but also WPF etc? I think we could get some amazing stuff if the designers were given some good incentives (ie money). Maybe a joint push from Telerik and the men behind Themeforest?

Also. Why not have some popular themes for the mobile theme designer, ie themes made by others like you get in JQuery Mobile and JQuery UI?

Some ideas for Telerik and the Community to think on.
Marcus
Top achievements
Rank 1
 answered on 05 Nov 2012
5 answers
310 views
Hello,

I have a model containing the date field which is defined standalone and the Datasource which is using the model.
I am trying to format the dates in grid column, but I keep getting " /Date(1344636000000)/ " instead of the formatted date.
The sample : http://jsfiddle.net/xpista/wWsZD/3/

However - if I define the model inside the DataSource, the formatting is working as expected: http://jsfiddle.net/xpista/m4Tr4/

Is this a bug or am I missing something?

Thanks, Stefan
Alexander Valchev
Telerik team
 answered on 05 Nov 2012
1 answer
185 views
Dear fellow warriors,

I'm experimenting with the foreign key example with the aim to make the foreign key column, so that the user can toggle between the foreign key values and the foreign key texts. I couldn't find API-calls for such a thing so I tried this:

var foreignKeyGrid = $("#grid").data("kendoGrid");
delete foreignKeyGrid.columns[1].values;  //deletes the foreign key mappings from the "Category"-Column
foreignKeyGrid.refresh();

This doesn't have any effect, the grid still shows the category names instead of the category ids. Any ideas how I could achieve the desired behaviour? (next step would be to toggle back, i.e. show the category names again. Next step would be to connect all of this with a UI-Toggle-Switch)

BTW the refresh call isn't my preferred one for this problem, as it re-requests the data from the DataSource - this causes extra network traffic for remote data grids, is there an API-call for a simple client-side redraw?

Many thanks for your advice,
Thomas
Petur Subev
Telerik team
 answered on 05 Nov 2012
1 answer
279 views
In my view model I have a nullable decimal field that is not required, but if a value is entered, it must be within a specified range:

[Range(0.01, 1.00)]
public decimal? Percentile { get; set; }

If I use either of the following approaches in my view and don't enter any values into the field, the range rule triggers and prevents submission:

@Html.TextBoxFor(m => m.Percentile, new { @class = "k-textbox k-input" }) 
@Html.Kendo().NumericTextBoxFor(m => m.Percentile)

This is the HTML rendered by the @Html.TextBoxFor(...)

<input id="AllGuidelines_0__Percentile" class="k-textbox k-input" type="text" value="" name="AllGuidelines[0].Percentile" data-val-range-min="0.01" data-val-range-max="1" data-val-range="The field Percentile must be between 0.01 and 1." data-val-number="The field Starting Percentile must be a number." data-val="true">

I'm just wondering if I'm doing something wrong or is that the intended behavior?

Thanks

Rosen
Telerik team
 answered on 05 Nov 2012
6 answers
773 views
I need to create a grid that works more like the RadTreeList does, in that you have a grid, but you can expand and collaps rows by a hierarchical navigator.

Is this somehow possible to do using KendoGrid?    Should I use KendoTreeView instead?

Anyone have any sample code that can illustrate how to do this?

Preferably, it would be nice to be able to bind it to an xml structure like this:

<Data>
    <Employee>
        <Name>Mary</Name>
        <EmpType>Executive</EmpType>
        <Salary>65000</Salary>
        <Employee>
            <Name>Fred</Name>
            <EmpType>Manager</EmpType>
            <Salary>52000</Salary>
            <Employee>
                <Name>John</Name>
                <EmpType>Supervisor</EmpType>
                <Salary>37000</Salary>
            </Employee>
        </Employee>
    </Employee>
</Data>
Sebastian
Telerik team
 answered on 05 Nov 2012
0 answers
111 views
Hi,

I've a multi-lingual website, which uses date.

Ive a 
kendo.culture("@lang")

which allows me to get message/texts in the correct language.

But now I need to have the same specific date format in all language.(JJ/MM/AAAA, even with the "en" culture)

How can I do this?

Found myself the solution, there is a format property to fill on calendar creation
Julien
Top achievements
Rank 1
 asked on 05 Nov 2012
1 answer
107 views
Hi Guys,

we are using Kendo Date Picker, and now brazil is in a summer time. The problem is we changed our time and increased 1 hour at october 20th, and on this calendar we have now 2 days 20...all days ahead are wrong.

Could you help us and fix this feature?

Thank you in advance.
Rakuten Brasil
Georgi Krustev
Telerik team
 answered on 05 Nov 2012
2 answers
123 views
Hi all,

I use Razor to create a treeview. If I user Items.Add each element I can use checkboxes, else if i user Datasource I checkboxes not working. Please tell me any problem?

@(Html.Kendo().TreeView()
                                                .Name("treeview")
                                                .Events(events => events
                                                    .Select("onSelect")
                                                )
                                                .Checkboxes(checkboxes => checkboxes
                                                    .CheckChildren(true)
                                                )
                                                .DataTextField("InfoCategoryName")
                                                .DataSource(dataSource => dataSource
                                                    .Read(read => read
                                                        .Action("GetAllCategory", "Information")
                                                    )
                                                )
                                                
                                            )

Best regard,
Troy
Alex Gyoshev
Telerik team
 answered on 05 Nov 2012
0 answers
144 views
 Hi,
 I attached screen shot ,Plz find that .and let me know how to create vertial splitter, and what are the files i have to reffer .
Thanks to advance.

Anjireddy
Top achievements
Rank 1
 asked on 05 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
ColorPicker
Pager
Styling
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
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?