Telerik Forums
Kendo UI for jQuery Forum
0 answers
120 views
HI,
How i get the childNode of a node ?

I do:

node.childNodes;

$.each(nodeChild, function () {
        nodeValue = treeOffices.dataItem(this).Id;
        if (nodeValue == id) {
            node = this;
            return node;
        }
    });

but treeOffices.dataItem(this) return always the firstNode

Help me
Vitantonio
Top achievements
Rank 1
 asked on 25 Jul 2012
0 answers
152 views
Hi
I am looking at whether it is possible to use AngularJS with KendoUI. It looks like I would need to extend KendoUI DataSource or Datasource transport to call into AngularJS controllers.
Has anyone done integration of AngularJS and KendoUI? How have you gone about it?
Thanks
Peter
Peter
Top achievements
Rank 1
 asked on 25 Jul 2012
0 answers
128 views
Hi Guys,

My webservice is written with ASP Web Api Json and  I can't seem to make editing work for Kendo Grid. I can only view (GET works)

I changed Create to:

url: "api/products",
type: "POST",
dataType: "json",

The post call is successful, but there is no payload on API controller side, meaning the actual object sent is null on server side.

 I am using the grid edit demo below.
http://demos.kendoui.com/web/grid/editing-popup.html

Is there anything that I have to modify on the web api side to make it simply work?  Any example is appreciated.


Thanks,
Felix
felix
Top achievements
Rank 1
 asked on 25 Jul 2012
0 answers
143 views
Is it possible to create an Organizational Chart using the DataViz charting?

I have not been able to find the answer to this question in the forums or documentation.

If it is possible, it would be nice if you could provide a small example.

Thanks!
Karen
Top achievements
Rank 1
 asked on 25 Jul 2012
0 answers
120 views
Hi Guys
I have just finished a massive ( $ wise) app written using Silverlight as the front end.(SQL database backend) I need to move the application over to mobile and I want to have it cross platform- obv HTML5 is the go ? Is there any tools to move from HTNL5 from Silverlight. PLEASE
thx in advance for any help
cheers
James
James
Top achievements
Rank 1
 asked on 25 Jul 2012
0 answers
183 views
Hi. I've been wandering the web for days and I cant seem to figure it out.
See, I have an MVC Telerik Grid using server binding and a custom pop up edit template that has a dropdown list.
What i need to do is , once i click edit and the data is displayed in popup, i need to have a button in popup(which i already have) that changes the dropdownlist to a textbox so it can serve as an input field. Once a user inputs on it, it will then be included in the dropdown list.
My problem is i cant switch to textbox from dropdown. The popup breaks. My assumption is that there maybe an issue with my rebinding   . Please help. Any will be appreciated.
Joseph
Top achievements
Rank 1
 asked on 25 Jul 2012
2 answers
319 views
Hi guys,
  I am trying to change the data-icon in a simple ListView here on a mobile application.  I don't want to bind this listview to data if possible because I have controls like switches in here.  I have the following:

<ul id="settings_listView" data-role="listview" data-style="inset">
                <li id="settings_mainttrack" data-icon="trash"><a href="#tabstrip-mainttrack">Something1</a></li>
                <li id="settings_burntrack"  data-icon="trash"><a href="#tabstrip-burntrack">Something2</a></li>
</ul>

and I would like to change the data-icon when this 'tab' loads, so I have a function like this:

$("#settings_burntrack").attr("data-icon", "");
$("#settings_mainttrack").attr("data-icon", "toprated");

I was hoping that the mainttrack element would have the 'toprated' icon now, but it still has 'trash'.  I think it is because the list is already painted by this point.  Is there any way to refresh the listview in the mobile side?  I tried to call 'refresh' directly but that is not a method in the mobile side.  Any thoughts would be appreciated.  Thanks!
Seth
Seth Morecraft
Top achievements
Rank 1
 answered on 25 Jul 2012
1 answer
90 views
Hi All:

I am implementing a horizontal ListView with a title-bar across the top.
http://www.telerik.com/community/forums/aspnet-ajax/listview/code-for-yahoo-weather-user-control-webpart.aspx
In Asp.Net controls it worked just fine, but with Kendo UI, I seem to have an extra one pixel around the whole Listview.  Is this a bug or can I style this away.

Phil
Phil
Top achievements
Rank 2
 answered on 25 Jul 2012
5 answers
1.5K+ views
$(document).ready(function ()
  {
  $("#adminGrid").kendoGrid({
  dataSource:dataSource,
  toolbar: ["create"],
   columns: [
    { field: "name", title: "Name", width: "150px" },
    { field: "description", title:"Description", width: "150px" },
    { field: "logo", title:"Logo", width: "150px" },
    { field: "startDate", title:"Start Date", width: "150px", format:"{0:MM/dd/yyyy}" },
    { field: "endDate", title:"End Date", width: "150px", format:"{0:MM/dd/yyyy}"},
    { field: "disabled", title:"Disabled", width: "50px" },
    { command: { text: "Edit Tags", click:showTags }, title: " ", width: "110px" }],
    editable: "inline"
             });
              
         //  $("#mainDiv").on("click",".h-edit-tags", showAlert);
  });
         
function showAlert(e)
{
  e.preventDefault();
  alert("hello");
}

The click event defined in my Grid's custom button never fires when I click my custom button... what am I doing wrong?
If I assign a class to the custom button and us the jquery on function everything fires just fine.
Mike
Top achievements
Rank 1
 answered on 25 Jul 2012
1 answer
323 views
Hello, I've got a listview whose template includes a button that causes removal of the clicked item from the listview.  I also followed another forum post explaining how to suppress the mouseclick event so that my button click event doesn't select the clicked item. 

However, when the remove happens in my click handler via the listview.remove(item) method, it looks like the listview syncs to the datasource.  The problem is that when this occurs the listview appears to lose it's selection.  I'm guessing this is by design, but is there a way in which I can store the selected index before the remove and then reselect the item afterwards?  The main task is getting the selected index in my click handler.  I see a way to get the selected item using listView().select() but not the index.  After the rebind, if I try to pass this selected item into the select function it no longer finds it, so I guess it goes out of scope after the rebind. 

Do you have any guidance for me?

Thanks,
Eric
Eric
Top achievements
Rank 1
 answered on 24 Jul 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
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?