Telerik Forums
Kendo UI for jQuery Forum
1 answer
99 views
Hi it's told that for DropDownList, dataItem():
 "Returns the raw data record at the specified index. If the index is not specified, the selected index will be used."
I use it with no index specified. This works if I select a value using keyboard. If I select a value by mouse click, I get not current but previously selected value.
(using kendo.web.min.js v2012.2.710)
Thanks
Georgi Krustev
Telerik team
 answered on 15 Oct 2012
7 answers
302 views
I'm viewing a kendoGrid with 250 rows on an iPad.  

i am unable to scroll down vertically. I thought the kendoGrid is touch enabled.

Please can someone tell me Is the kendoGrid touch enabled?


thanks
Ifdev02
Top achievements
Rank 1
 answered on 15 Oct 2012
0 answers
88 views

Hello,

 I am planning to develop a mobile application in android using KendoUI. Do I need to use Phonegap(need to refer cordova?) or I can develop the entire application using KendoUI framework without using Phonegap?

 Other question is there will be any challenge if I am planning to use the IDE as Visual Studio and platform as Windows phone 7. Because it says KendoUI does not support in Windows Phone 7.  But I got this link. Please give a suggestion.

 http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/windows-phone-application-using-kendo-ui-mobile-and-phonegap/

 Thanks

Bavya
Top achievements
Rank 1
 asked on 15 Oct 2012
1 answer
304 views
The chart is using text node in the SVG to display the labels. The chart does not arrange the labels correctly based on the label width. Look at the example below.

http://jsfiddle.net/8W8Kv/

Any solution? 
Is there a max-width property on the labels? I could not find one. :(

Regards,
Ujjwal Karjee
Hristo Germanov
Telerik team
 answered on 15 Oct 2012
1 answer
168 views
Hi,

I opened kendow window in iframe mode with say some site www.microsoft.com and if i observe in IE Developertools script files of site are loaded and after i close the modal window i reopened it then i see 2sets of script files of microsoft. And this is increasing number of times i open the modal window. So when I close the kendo window it is getting destroyed but iframes still remained in DOM? or my IE Developer tool is showing older files also (which i dont think it is).

Nohinn
Top achievements
Rank 1
 answered on 15 Oct 2012
2 answers
297 views
Hi,

Using your grid which currently doesn't support column resize, we notice that sometimes the content, if wider than the width, is not shown.  Can you please add a title attribute to the TD's generated, and duplicate the cell content there (stripped of any html tags...), so when hovering the cell, the user can still read the contents?
Nohinn
Top achievements
Rank 1
 answered on 15 Oct 2012
1 answer
380 views

Hello Dear,

I am so much happy to know Kendo UI web demo now open for all. So I want to use Kendo UI web in my project. At now I am using JQuery UI in my project. I am passing my all data by JSON. Other one is important my project is ASP.NET MVC 3 project. So last few days I am trying to pass JSON data to my project with Kendo UI Web. But I cannot do it easily. I think I am missing something.

Another one I do not want to use Kendo MVC DLL. Only I want to use Kendo UI Web Open source. I can use Kendo MVC DLL.  :)

So my target is use Kendo UI to ASP.NET MVC 3 project with JSON data. My Question is below:

  1. Can I use Kendo UI Web with JSON data in ASP.NET MVC 3?
  2. If Answer will be yes. Then how can I use it in ASP.NET MVC 3?
  3. How do I pass JSON data?
  4. Could you give me any project reference that type?
  5. Could you give any example?

Please Help me…!

Nohinn
Top achievements
Rank 1
 answered on 15 Oct 2012
1 answer
927 views
Is there any way to add a CSS class to a ListView's container?

For example, I would like to add the CSS class "row" so it looks like this:
<div id="CertificationList" class="row k-widget k-listview" data-role="listview">

This is the ListView:
@(Html.Kendo().ListView(Model)
    .Name("CertificationList")
Nikolay Rusev
Telerik team
 answered on 15 Oct 2012
0 answers
120 views
Hi all, i have some problem with create and update data
Look at this

dataSource = new kendo.data.DataSource({
   transport: {
      read: {url:"<?=base_url()?>/bank"},
      update: {url:"<?=base_url()?>/bank/update", type:"POST"},
      destroy: {url:"<?=base_url()?>/bank/destroy",type:"POST"},
      create: {url:"<?=base_url()?>/bank/create",type:"POST"},
   },
   error: function(e) {
      alert(e.responseText);
   },
   batch: true, pageSize: 25,
   schema: {
   model: {
      id: "id_bank",
      fields: {
         nama_bank: { type: "string" },
      }
   }
}
});
//kendo grid
$("#grid_bank").kendoGrid({
   dataSource: dataSource,
   editable:  "popup", height: 450, filterable: true, sortable: true, pageable: true,
   toolbar: ["create"],
   columns: [
      { field: "nama_bank",title: "Nama", filterable: true },
      { command: ["edit", "destroy"], title: " ", width: "160px" }
   ]
});

i'am using codeigniter and this script on class controller
public function index() {
   header("Content-type: application/json");
   $arr = array();
   $data=$this->bank_model->get_bank();
   foreach ($data as $hasil) {
      $arr[]=$hasil;
   }   
   print json_encode($arr);
}
     
public function create() {
   header("Content-type: application/json");
   $nama_bank = $_POST['models'][0]['nama_bank'];
   $query = "INSERT INTO bank VALUES (NULL, '$nama_bank')";
   $rs = $this->db->query($query);
   echo $query;
   if ($rs) {
      echo json_encode($rs);
   } else {
      header("HTTP/1.1 500 Internal Server Error");
   }
}
     
public function update() {
   header("Content-type: application/json");
   $id_bank = $_POST['models'][0]['id_bank'];
   $nama_bank = $_POST['models'][0]['nama_bank'];
   $query = "UPDATE bank SET nama_bank = '$nama_bank' WHERE id_bank = $id_bank";
   echo $query;
   if ($rs) {
      echo json_encode($rs);
   } else {
      header("HTTP/1.1 500 Internal Server Error");
   }
}

the problem is if process creating data is execute after that when will updating data, process always to creating data
and if in first time/page reloaded process updating is execute, that is working, but after that creating data it is problem again

Thank
rooney
Top achievements
Rank 1
 asked on 15 Oct 2012
0 answers
88 views
Hello,

I have an SPA web application.

The menu links are regular <a> tags but they just update the main content area with AJAX. The close on click is set to true but it doesn't close.
I belive this bugs out because of the Ajax way of things working.

Anybody have experience or workarounds?
Dennis
Top achievements
Rank 1
 asked on 15 Oct 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
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
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
+? 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?