Telerik Forums
Kendo UI for jQuery Forum
2 answers
94 views
Hi,

This issue only happens in Chrome.

When I close the editor, some of the editor is still shown, the graphics doesn't clean up.

A recording of the problem

Any idea?

Thanks
Mojo
Sven
Top achievements
Rank 1
 answered on 30 Oct 2012
0 answers
137 views
Hellow,
I'm new using of Kendo UI and I have a problem when I wanna transfer parameters from a click on the text in the row of the Kendo grid. Well, I don't really know to explain (I'm french ^^').
What I would like is :
   I have a kendo grid with a template column. When I click on a lign of this column, I want the grid to recup few parameter and put them into the url to redirect me on another page where is a new kendo grid which display informations relative at the lign selected before.

Below a part of my code :
$("#grid").kendoGrid({
              dataSource: dS,
                columns: [{ title: "Copropriété", field: "Lib", template: "<a href='HistoriqueCompte.html'> ${Lib} <a/> " },
                          { title: "Agence", field: "RaisonSocialeLicence" },
                          { title: "Solde", field: "Solde" }]
            });

Do you have any idea about what I have to do to get what I want ?

EDIT Fif' : SOLUTION
"<a href='HistoriqueCompte.html?CodeCopro=${CodeCopro}&IndGmcCopro=${IndGmcCopro}&IdAgence=${IdAgence}' >${Lib}<a/> " }

Fif
Top achievements
Rank 1
 asked on 30 Oct 2012
7 answers
1.9K+ views
In grid there have some multiple records. Now I am selecting some rows. I want to copy only those selectable rows in another grid.
How I can do this. Please help.

Thanks in advance.

jonathan
Top achievements
Rank 1
 answered on 30 Oct 2012
0 answers
140 views
View
@(Html.Kendo().Grid<QRMG.VendorPortal.Model.Field>()
            .Name("Grid")
            .Columns(columns =>
            {
                foreach (var fieldData in Model.Data[1])
                {
                    columns.Bound(fieldData.FieldName);
                }               
            })
            .DataSource(dataSource => dataSource
            .Server()           
            )          

Quest Resource Management
Top achievements
Rank 1
 asked on 30 Oct 2012
1 answer
661 views
I have a grid driven application where I need to load 5 grids and access them via tabs, kind of like a tree.
If I do the following I only get content loaded for the first tab:
<div id="tabstrip">
    <ul>
        <li id="project" class="k-state-active">Projects</li>
        <li id="shift" >Shifts</li>
        <li id="employee">Employees</li>
        <li id="contact" >Contacts</li>
        <li id="customer" >Customers</li>

But if I put the class="k-state-active" on the last tab, everything works fine because I'm guessing it loads everything in then finds the active tab ? I was wondering how I should ensure that my contentUrls finish loading properly.

Later: turns out this is just an illusion and  'patience is a virtue'. IOW the tabs do load I was just trying too quickly. What I need is a way to display the spinner until ALL the content is loaded..
Dimo
Telerik team
 answered on 30 Oct 2012
0 answers
103 views
Hi Telerik,
My grid must look the same when it's normal and in edit mode. I'm playing with row template, but when I add it then it looks ok, but edited values are not send to server.

I have created example: http://jsfiddle.net/lukeon/u7VWv/1/ but it is using local datasource. In my case I have autoSync datasource. When I remove 
template"<input type='text' class='k-input k-textbox' value='${ FirstName }'/>"
then it works fine. When I add such template then datasource it's not sync.

Any idea how I can accomplish this? :)
Luke jj
Top achievements
Rank 1
 asked on 30 Oct 2012
0 answers
370 views
I want to put functionality like when Checkbox is checked and textbox field become readonly. Please give me solution for this.


function plan_min_unlimited(container, options)
{
    $('<input type="checkbox" name="' + options.field + '" onclick="chkclickmin(this.value)"/>').appendTo(container)
}
function chkclickmin(val){
    alert(val);               
    alert($('#grid').data('kendoGrid').tbody.select("plan_minutes"));
    $('#grid').data('kendoGrid').tbody.find("plan_minutes"). Editable(false);
    
}
$("#grid").kendoGrid({
            dataSource: dataSource,
            pageable: true,
            height:"583px",
            
            toolbar: [{name:"create",text:"Add new Plan"}],
            columns: [                
                           
                {field:"plan_min_chk",title:"<strong>UnlimitedPlan</strong>",hidden:true,editor: plan_min_unlimited},                
                {field:"plan_minutes", title:"<strong>Plan Minutes</strong>",width:"100px"},
                {command: ["edit", "destroy"], title: "&nbsp;", width: "210px",title:"<strong>Action</strong>" }],     
            groupable:true,
            editable: {
                mode: "popup",             
                destroy: true,             
                confirmation: "Are you sure you want to remove this test member?"
            }
Kartik
Top achievements
Rank 1
 asked on 30 Oct 2012
1 answer
171 views
Hello,

I was trying to bind a listview to an ASP.Net .asmx web service using KendoUI mobile. I referred the following link to achieve this. But it’s not working for me.
http://www.kendoui.com/forums/framework/data-source/consuming-a-net-json-web-service.aspx

Pasting my code snippet for more help. Please let me know whether I am in right direction or what’s wrong with my code.  It’s urgent, please help me.

index.html:-
<!DOCTYPE html>
<html>
<head>
    <title></title>
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
    <meta charset="utf-8">
    <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
    <script src="js/jquery.min.js"></script>
    <script src="js/kendo.mobile.min.js"></script>
    <script src="js/console.js"></script>
    <link href="styles/kendo.common.min.css" rel="stylesheet" />
    <link href="styles/kendo.mobile.all.min.css" rel="stylesheet" />
</head>
<body>
    <a href="../index.html">Back</a>
    <div data-role="view" id="flat" data-init="mobileListViewDataBindInitFlat" data-title="ListView" data-layout="databinding">
    <ul id="flat-listview"></ul>
</div>
<script>
var flatData = new kendo.data.DataSource({
   transport: {
                        read: {
                            contentType: "application/json",
                            type: "POST",
                            url: "http://myservice/TestService.asmx/GetCustomerData",
                           data: {
                                    q: "html5"
                                 }
                              }
              }
});
    function mobileListViewDataBindInitFlat() {
        $("#flat-listview").kendoMobileListView({ dataSource: flatData });
    }
</script>
    <script>
        window.kendoMobileApplication = new kendo.mobile.Application(document.body);
    </script>
</body>
</html>

TestService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Script.Services;
using Northwind_newModel;
 
[ScriptService]
public class TestService : System.Web.Services.WebService {
    [WebMethod]
    public List<CustomerModel> GetCustomerData()
    {
        using (var northwind = new Northwind_newEntities1())
        {
            return northwind.Customers
                 .Select(p => new CustomerModel
                {
                    CompanyName = p.CompanyName
                }).Take(5).ToList();
         }
    }
}

Thanks.
Bavya
Top achievements
Rank 1
 answered on 30 Oct 2012
3 answers
352 views
Hello,

how can i change the background-color of the entire control?
please take a look at the attached bitmaps.

Thank you
Axel
Kamen Bundev
Telerik team
 answered on 30 Oct 2012
0 answers
142 views
Having Line chart besides which there is div , which user can collapse as per user need to increase chart area, on div collapse, refreshing chart . In chart , I had customize legend position based on div width in which chart is generated. Now issue is on chart refresh chart div width is increasing, but legend position not getting refreshed as per div width changed.
Pratik
Top achievements
Rank 1
 asked on 30 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
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?