Telerik Forums
Kendo UI for jQuery Forum
3 answers
208 views
Hi
  Is this possible? I would like to create a modalview via an ajax call, possibly then destroy it and make another one?

On that topic is this possible with normal views as well, I gather they aren't made until navigate is called but I haven't tried to replace them after they've been made

thanks

Kiril Nikolov
Telerik team
 answered on 01 Aug 2014
2 answers
279 views
is there an way to  load local shapefile in map ?
T. Tsonev
Telerik team
 answered on 01 Aug 2014
1 answer
439 views
Hi eveyone,

I have a custom rule (Rule A) on a Kendo Validator that I would like to only fire when I call validator.Validate() and NOT OnBlur. The validating this rule OnBlur causes a lot of problems.

The Kendo Validator also has another custom rule (Rule B)  that fires on the OnBlur as well as the Validate().

How can I stop the OnBlur from happening on Rule A, but keep it active for Rule B?

Thanks

Dave
Kiril Nikolov
Telerik team
 answered on 01 Aug 2014
1 answer
192 views
Hello,

Is there a simple example of how to navigate between different pages?

I am using version telerik.kendoui.professional.2014.1.528.trial and even on simple examples of traversing between pages using href or app.navigate, either I loose the style or the content of the pages.
No issues if I just go directly to the pages.

Thanks for your time and help.


Petyo
Telerik team
 answered on 01 Aug 2014
1 answer
607 views
I'm trying to dynamically populate a combobox as the user types, however, once the combobox has done the first data fetch (i.e. minLength: 3) it does not fire again if the user hits backspace a few times and types in a new phrase.

How is this dynamically server filtering possible?

My setup:

var userDs = new kendo.data.DataSource({
    transport: {
        read: {
            type: "POST",
            url: '@Url.Action("GetUsers", "System")',
            data: function() {
                return {
                    filter: $("#user").data("kendoComboBox").input.val()
                }
            },
            dataType: "json",
            contentType: "application/json; charset=utf-8"
        },
        parameterMap: function(data, type) {
            return kendo.stringify(data);
        }
    }
});


$("#user").kendoComboBox({
    template: '<div>#:data.name# (#:data.role#, #:data.country#)</div>',
    dataSource: userDs,
    autoBind: false,
    dataTextField: "name",
    dataValueField: "id",
    minLength: 3,
    placeholder: "Select user...",
});


public JsonResult GetUsers(string filter)
{
    List<object> result = new List<object>();
    ...
    return Json(result);
}
Georgi Krustev
Telerik team
 answered on 01 Aug 2014
1 answer
166 views
I have a function that's running a 2-3 second long operation on the client (no ajax calls).
I'm trying to show a "Busy/Processing" animation while this operation is running as follows:

var ajaxContainer = $('.elementClass');
kendo.ui.progress(ajaxContainer, 
true);

// long operation here

kendo.ui.progress(ajaxContainer, false);

but this does not work as expected. the result that i get is that the operation runs without showing the progress. although it does show when the operation ends.

closest sample i could find online is for progress that's updated based on button clicks, but this is not really my case
http://jsfiddle.net/bundyo/64CRY/31/

How can i achieve this correctly using kendo UI?
Dimo
Telerik team
 answered on 01 Aug 2014
1 answer
210 views
I am trying to get all the children(detail) IDs when I click one of the row instead of using expand row. I want to click one of the detail row and get all the detail IDs. I tried calling detailInit from the click event but I am getting error. Either a way to get all child in an array? I am trying to get the IDs to call other service. Here is an example of a code.

When I click one of the detail row, I want to get all detail IDs in that row with out expanding the row. Please help me how to achieve this. I want to get OrderIDs. I have tried several methods but I am not able to achieve what I wanted.

<body>

<div id="example">
<div id="grid"></div>

<script>
$(document).ready(function() {
var element = $("#grid").kendoGrid({
dataSource: {
type: "odata",
transport: {
read: "http://demos.telerik.com/kendo-ui/service/Northwind.svc/Employees"
},
pageSize: 6,
serverPaging: true,
serverSorting: true
},
height: 600,
sortable: true,
pageable: true,
detailInit: detailInit,
dataBound: function() {
this.expandRow(this.tbody.find("tr.k-master-row").first());
},
columns: [
{
field: "FirstName",
title: "First Name",
width: "110px"
},
{
field: "LastName",
title: "Last Name",
width: "110px"
},
{
field: "Country",
width: "110px"
},
{
field: "City",
width: "110px"
},
{
field: "Title",
title: "Detail"
}
]
});
});

function detailInit(e) {
$("<div/>").appendTo(e.detailCell).kendoGrid({
dataSource: {
type: "odata",
transport: {
read: "http://demos.telerik.com/kendo-ui/service/Northwind.svc/Orders"
},
serverPaging: true,
serverSorting: true,
serverFiltering: true,
pageSize: 10,
filter: { field: "EmployeeID", operator: "eq", value: e.data.EmployeeID }
},
scrollable: false,
sortable: true,
pageable: true,
columns: [
{ field: "OrderID", width: "70px" },
{ field: "ShipCountry", title:"Ship Country", width: "110px" },
{ field: "ShipAddress", title:"Ship Address" },
{ field: "ShipName", title: "Ship Name", width: "300px" }
]
});
}
</script>
</div>


</body>
</html>




Dimiter Madjarov
Telerik team
 answered on 01 Aug 2014
1 answer
219 views
Hello,
I am using the code below to populate the header and footer on a page.

How to clear the first, default selected tab?

Thanks for your time and help.

<div id="example" data-role="view" data-layout="default">
</div>
     <div data-role="layout" data-id="default">
         <header data-role="header">
            <div data-role="navbar" style="background-color:\#1e4e6d;">
                <span data-role="view-title" style="color:\#ffffff;">Header</span>
            </div>
        </header>
        <footer data-role="footer">
            <div id="tabstrip" data-role="tabstrip">
                <a data-icon="e038-e"></a>
                <a data-icon="info"></a>
                <a data-icon="arrow-e"></a>
                <a data-icon="settings"></a>
                <a data-icon="contacts"></a>
            </div>
        </footer>
 
    </div>
Dimiter Madjarov
Telerik team
 answered on 01 Aug 2014
1 answer
445 views
How to get the index for a given node within its parent node?
Alexander Popov
Telerik team
 answered on 01 Aug 2014
7 answers
346 views
Hello Forum,

  I try to add some text to a horrizontal Splittbar of my Splitter. Background is, that if the User of my site collapse the filter pane, the entered filter should be displayed in a short form in the splittbar.

I tried the following code (without luck yet):
$(document).ready(function ()
{
    var allHorizontalSplitterElements = $(".k-splitbar.k-state-default.k-splitbar-vertical");
    var splitter = $("#filterMaster").find(allHorizontalSplitterElements);
    var splittbar = splitter.get(0);
    var child = createInfoDiv();
    splittbar.appendChild(child);
});
function createInfoDiv()
{
    var infoDiv = document.createElement("div");
    infoDiv.className = "infoDiv";
    infoDiv.innerHTML = "Filter:";
 
    return infoDiv;
}

All works without any error, but the div is not added to the splittbar. If I check in IE Developer Tools, the Splittbar div only contains the div for the collapse icon.

That I got the right div in my variable splittbar I checked by appending an additional css style. That was working, but not the appendChild function.

In hope for help,

  Thomas
Dimo
Telerik team
 answered on 01 Aug 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
AIPrompt
TimePicker
AICodingAssistant
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?