Telerik Forums
Kendo UI for jQuery Forum
1 answer
141 views
What would be the recommended option from the following? A MVC form contains a number of grids some with checkboxes and some with the standard input elements. All of these form components should be validated together and submitted back to the server in one go. Would templates for the grids be possible and best? With templates I can specify the input element names such that collections are populated automatically by the MVC binder for my action method parameter object e.g. <input name="myobjectscollection" type="checkbox"/> Or would converting the entire form to json and sending that be the best way to go? I suspect there is not much difference if both are possible but I want to check if I've missed something.
Alex Gyoshev
Telerik team
 answered on 03 May 2012
1 answer
68 views
If I define my dropdown like this
<select id="rotation-combo" class="mycustomclass">
Then the resulting kendodropdown has "mycustomclass" applied to it's wrapper div

However, not the case with the combobox...and it should, really they're close to the same control (from a UI look\feel)

(**edit** it'd also be nice if that class could be applied to the dropdown animation container if possible, I'd like to style that easily and independently)
Georgi Krustev
Telerik team
 answered on 03 May 2012
4 answers
827 views
Hello sir,

detail of column data are large that's why my data content are not display complete it trunk at detail e.g Name Column inside Name is displaying like that vangashkumar mat...

any solution for that

Thanks in advance.
Rz 
Prashant
Top achievements
Rank 1
 answered on 03 May 2012
0 answers
100 views
Hi All,

I am facing one strange issue while using AutoComplete control within div.

This div I am parsing as below:
// Setup Modals
[code]
                    $('#b-add-domain').bind('click', function(event)
                    {
                        event.preventDefault();

                        var $editModalHTML = $('#add-domain-modal').html();

                        $(this).colorbox(
                        {
                            html:$editModalHTML,
                            width:'255',
                            maxHeight:'700',
                            opacity:'0.65',
                            transition:'fade',
                            onLoad: function(){
                                $('#cboxClose').remove(); // remove the close button
                            },
                            onComplete: function(){
                                // setup scripting for modal
                                $('select').kendoComboBox();

                                //$('#account_no1').kendoAutoComplete();

                                // cancel modal buttons
                                $('.cancel-modal').bind('click', function(event){
                                    event.preventDefault();
                                    $.colorbox.close();
                                });

                                alert($editModalHTML);
                            }


                        });
    [/code]                   
If I will keep my auto-complete control outside of this div then its working fine.

Please suggest solution for this.
Prashant
Top achievements
Rank 1
 asked on 03 May 2012
3 answers
105 views
2 grids where 1 grid is populated with remote data and it is editable. On editing the grid by either adding a new record or changing an existing I'd like to update the other grid automatically. Is this possible?

The scenario is where the 2nd grid's columns comprise the data in the first column of the first grid so any changes to the first grid need to be displayed in the second as soon as possible. I've tried a few things and come up with a boolean flag which gets set on edit of the first and then the 2nd gets refreshed if the user tries to edit it but this is far from intuitive.

Thanks
Matt
Rosen
Telerik team
 answered on 03 May 2012
3 answers
1.1K+ views

For the Application > Form Elements > Text type standard box how does one specify the empty text. This is the text that appears in a standard textbox when do data has been entered. See iOS Contacts application when adding a New Contact the First, Last, Company appear grayed in the first three boxes almost like a watermark. 

This improves the interface as it does not require us to set label text for each textbox and it looks closer to how the native iOS data entry forms work.
Arturo
Top achievements
Rank 1
 answered on 03 May 2012
4 answers
287 views
Hi,

I have a strange error with Kendo Grid. I have a model defined :

var allocationGridModel = new kendo.data.Model({
           id: "Symbol",
           fields: {
               IsCheckedForDelete: { type: "boolean" },
               AssetClassCode: { type: "string", editable: false, nullable:false },
               AssetClassColor: { type: "string", editable: false, nullable:false  },
               Symbol: { type: "string", editable: false, nullable:false  },
               SecurityDescription: { type: "string", editable: false, nullable:true  },
               TargetAllocation: { type: "number", editable: true, validation: { min: 0.01}, nullable:false  },
               DriftMin: { type: "number", editable: true, nullable:false  },
               DriftMax: { type: "number", editable: true , nullable:false },
               MinBuyWeight: { type: "number", editable: true, nullable:true  },
               MinBuyValue: { type: "number", editable: true , nullable:true },
               MinSellWeight: { type: "number", editable: true, nullable:true  },
               MinSellValue: { type: "number", editable: true , nullable:true },
               SellOrder: { type: "number", editable: true, nullable:false  },
               IsInFavorites: { type: "boolean", editable: false,nullable:true },
               Equivalences : {type : "string", editable:false,nullable:true }
           }
       });

I have a grid which uses this model. In the grid I have rowTemplates defined. What I observed is, if in one of the columns which is editable, I put a 0 value and after, if I try to re-edit the same cell afterwards the numeric text box in the grid cell is not rendered. In some cases a simple input is rendered in other cases the value 0 disappears and no control is displayed in the cell.

Here is the column definition for the marked column in the attached image:

{
          field: "MinBuyWeight",
          title: "Min Buy Weight",
          template: '<div style="text-align:right;">#= kendo.toString(MinBuyWeight,"0.00") # % OR</div>',
          width: "90px"
      }

Do you have any kind of ideas what am I doing wrong?

Thanks in advance!!

Gergo
Top achievements
Rank 1
 answered on 03 May 2012
8 answers
425 views
Both Kendo UI Mobile & jQuery Mobile are in beta stages. I would like to see a comparison matrix at the some point between the two. I am planning to build a mobile web app and it seems I will be choosing one from these two.
iggy
Top achievements
Rank 1
 answered on 02 May 2012
2 answers
160 views
hello
I have a function to which you want to add a checkbox to have a function but this function need to pass the name of my form will add it to function with the single quote '
but when added to the grid do not show me anything the grid
how I can add the name of my form but show me what the grid

in a post showing how to add html elements to the grid in the property template
template: "#= kendo.toString(\'<form name=\"form_r\" method=\"post\" action=\"activauno.asp\" onSubmit=\"return enviarForm();\">
<input id=\"radio-01\" type=\"checkbox\" name=\"enviar\" value=\"1\" onClick=\"SelectedCheckBox(this,'form_r',1);\"/>
<button id=\"boton\"name=\"boton\" type=\"submit\">
</button> </form>\') #"


greetings and thanks in advance
Ricardo
Top achievements
Rank 1
 answered on 02 May 2012
0 answers
134 views
Basically, I need to be able to have a grid that manages a heterogeneous collection of two different kinds of objects. To give you some context, I need to be able to handle contact information for both individuals and groups. While they share most of their info, they differ in that individuals have both a first name and last name, while a group has only one name. So I am faced with the problem of how to handle editing for both types of objects in the same grid. 

Is that enough information, or do you need more? Does anyone have any suggestions on how to handle this tricky problem?

Thanks. 
Joshua
Top achievements
Rank 1
 asked on 02 May 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
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?