Telerik Forums
Kendo UI for jQuery Forum
3 answers
43 views
Hello,

i used follwing code in out layout ...

<footer data-role="footer">
     <!-- Kendo Mobile TabStrip widget -->
     <div data-role="tabstrip">
        <a data-icon="search" data-rel="external" href="/Search">Suchen</a>
        <a data-icon="recents" data-rel="external" href="/Calendar">Termine</a>
        <a data-icon="contacts" data-rel="external" href="/Contacts/MyContacts">meine Aktivitäten</a>
     </div>
</footer>

<script type="text/javascript">
     // Initialize a new Kendo Mobile Application
     var app = new kendo.mobile.Application($(document.body), { platform: "blackberry" }); // ohne Angabe einer Plattform wird das Design automatisch anhand des User-Agents ausgewählt
     kendo.culture("de-DE");
</script>

Everything works fine in visual studio.
After publishing the mobile website .... all data-icons use chinese icons.

How do i change the culture of used data-icons ?

Regards

Jürgen Meyer


Justyna
Top achievements
Rank 1
 answered on 08 Jan 2014
1 answer
83 views
I was wondering if the kendo dropdownlist is supported with the Icenium package of Kendo UI DataViz and Mobile, because the Dropdownlist itself is in Web documentation but it's demoed in the mobile section.
Steve
Telerik team
 answered on 08 Jan 2014
1 answer
125 views
Hi Fellas, 

I just encountered another problematic, and it seems pretty simple, but I could not come up with an answer reading the documentation.
I demonstrated the issue here: http://chris1904.webege.com/test2.html 
Jane Parker's message includes HTML code, and I would like to have that parsed as HTML as well. How do I pass HTML through JSON?

Thank you for your help,
Chris 
Petyo
Telerik team
 answered on 08 Jan 2014
3 answers
191 views
I am using KendoUI web controls with KO binding using knockout-kendo.js in my project. It works like a charm with kendo Grid. 

However, at couple of places I want to use Html table whose rows are bound with kendo datasource inside my VM using KO bindings. In other words, I want something similar to ko's foreach binding using kendo datasource. 

I referred http://jsfiddle.net/rniemeyer/qtx3J/ as a sample but when I integrate kendo datasource here, it stops working.

var viewModel = ko.observable({
                persons: new kendo.data.DataSource({
                    schema: {
                        model: { id: "PersonId" },
                        data: "Data",
                        total: "Total",
                    },
                    transport: {
                        read: {
                            url: "/api/PersonApi/Get",
                            dataType: "json", 
                        },
                                            },
                    pageSize: 2,
                    serverPaging: true,
                    serverSorting: true,
                }),
                itemTemplate : function (item) { return "view"; },});

Thank you for your help!
Alexander Valchev
Telerik team
 answered on 08 Jan 2014
10 answers
247 views
Hello,

I've implemented a few charts (stacked bars, stacked areas etc) and encountered the following behaviour:

If you hide the last of three series via legend click, click the same legend item to show series again and then reaload data via datasource.read() and JSON the last series is disabled and therefore hidden (at the time new data was loaded the series was visible!).
Since I did not found a way to explicitly show the series again (after loading data) you have to click another time the legend item to see the series on the chart again.

JS to load new data:
var chart = $("#AverageCountPerDay").data("kendoChart");
        // recalculate value axis range
        chart.options.valueAxis.max = undefined;
        chart.dataSource.read({ groupNumber: "@Model.GroupID", startDate: startDate.value().toJSON(), endDate: endDate.value().toJSON(), granularity: "day" });

Is there a way to fix this problem or an appropriate workaround?

TIA
Dirk
Hristo Germanov
Telerik team
 answered on 08 Jan 2014
1 answer
140 views
Hello Team
Wish you a great year ahead.
We have used KendoUI controls in our last application and have decided to continue with it for this release too. And we would like to use TypeScript this time. Hope KendoUI is available to work with TypeScript too.
We are the premium members here and have the licenses too. Where can we download the typescript-ed KendoUI ?
Atanas Korchev
Telerik team
 answered on 08 Jan 2014
5 answers
64 views
I'm using icenium for a mobile aplication using HTML5, JS,CSS and Kendo.
I manage to get it to work but the only problem that I'm having it's in centering the cursor when dragging an object, i.e., when the clone is dragged, the object is diverted. (See tha attached image)
When I user cursorOffset to put the object in the correct position, dragging becomes really slow so it is not an option. Also, editing the clone css also becomes really slow.
In the drag event, I use:
drag: function(e) {
      console.log("x: ", e.screenX, "y: ", e.screenY);
    }
This returns undefined. When I look to the object "e", the real x and y axis positions are in e.x.screen and e.y.screen. Is there a way to use this positions?


Kiril Nikolov
Telerik team
 answered on 08 Jan 2014
1 answer
97 views
Hello my sorting is not working at all, no matter what I do. If I look in firebug the json-encoded response shows up but it is not sorted correctly, if I put a breakpoint in the "Get" method the request.Sorts parameter is null. It shows the arrows inside the columns but nothing else happens.

here is the code for the view

@(Html.Kendo().Grid<ModelNewsletter>().Name("NewslettersGrid").Columns(c => {
    c.Bound(m => m.Title);
    c.Bound(m => m.DateCreated).Format("{0:dd/MM/yyyy}");
    c.Bound(m => m.AccommodationName);
}).DataSource( d => d
    .Ajax()
    .Read(r => r.Action("Get", "Newsletter"))
    .PageSize(5)
)
.Pageable()
.Sortable(sb => sb.AllowUnsort(true).SortMode(GridSortMode.SingleColumn))
.ToolBar(toolbar => toolbar.Custom().Action("Create", "Newsletter").Text("Create"))
)

And here is the controller action that gets called

[HttpGet]
public JsonResult Get([DataSourceRequest]DataSourceRequest request) {
    uow.SetContextProxyCreation(false);
    var newsletters = uow.NewslettersRepository.GetNewslettersByCompanyForGrid(SessionHandler.User.IDCompany);
    var ds = newsletters.ToDataSourceResult(request);
    return this.Json(ds, "text/x-json", JsonRequestBehavior.AllowGet);
}
Nikolay Rusev
Telerik team
 answered on 08 Jan 2014
1 answer
126 views
sorry,
I have read all the getstart and api document abount the ImageBrowser, but still can't get it to work.  Maybe I missed something.  

I am use flat kendoui( only js, not for asp.net MVC)
this is my js:
   
jQuery("#Script1").kendoEditor({
  imageBrowser: {
    path: "/KPIupload/OADocument/PublicPhoto/",
    transport: {
       read: "/KPIGetData/FileData.aspx?SearchType=photodocument",
      //destroy: "imagebrowser/destroy",
     //create: "imagebrowser/createDirectory",
     //uploadUrl: "imagebrowser/upload",
     //thumbnailUrl: "imagebrowser/thumbnail",
      imageUrl: "/KPIupload/OADocument/PublicPhoto/{0}"
     }
  },
  tools: [
                                                            "bold",
                                                            "italic",
                                                            "underline",
                                                            "justifyLeft",
                                                            "justifyCenter",
                                                            "createLink",
                                                            "unlink",
                                                            "insertImage",
                                                            "createTable",
                                                            "addRowAbove",
                                                            "addRowBelow",
                                                            "addColumnLeft",
                                                            "addColumnRight",
                                                            "deleteRow",
                                                            "deleteColumn",
                                                            "viewHtml",
                                                            "fontSize",
                                                            "foreColor"
                                                             
 ]
});

The editor works fine, but when I click the image browser, no image is showed.
There are 3 images on the  /KPIupload/OADocument/PublicPhoto/, I am sure of that. In fact, if I don't use ImageBrowser, just use the simple image handle of the editor, I can show the images, that means the images are there.

I see the document, and it said the "read" expects a json, so I test my read url, and found it returns:
[{"name":"111.JPG","type":"f","size":"6832"},{"name":"book2.png","type":"f","size":"9692"},{"name":"BSCTool.png","type":"f","size":"5773"}]
I think it's right.

So, I don't know why it can't show any images.  Maybe I missing something. Need your help!

yours,
Ivan








Dimo
Telerik team
 answered on 07 Jan 2014
2 answers
134 views
Hi Team,

We are evaluating kendo UI for our project and will be buying it shortly. In our project, we are in need of 3d view of charts and also wanted to know whether

copy and printing of charts is possible using kendo UI.

Also in our project, gantt chart play a major role. So just wanted suggestions/recommendations from you guys whether gantt view or anythng equivalent would be  possible using kendo UI.

Please provide us an update ASAP since we are waiting to buy this product.

Regards,
Ashwan Kumar
Marisol
Top achievements
Rank 1
 answered on 07 Jan 2014
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
AICodingAssistant
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
+? 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?