Telerik Forums
Kendo UI for jQuery Forum
1 answer
226 views

It is found that when using a custom editor (in my case a Kendo dropdown menu), the dirty flag sometimes disappears even though the cell and model are still considered 'dirty'.

This behavor is reproducible using your demo (http://demos.kendoui.com/web/grid/editing-custom.html). Follow the steps to view the error:

  • Select a different value under Category for a row
  • Select the Product Name cell in the same row (a different row will also work) to enable edit mode
  • Click back to the dirty Category cell
  • Click off to close cell

The dirty flag in the cell is now gone. The same behavor is happening with my implementation even though I have not saved the current grid. If you press "Cancel", the value is returned to the original.

Please advise.

Iliana Dyankova
Telerik team
 answered on 07 Jan 2013
3 answers
310 views
I am having trouble loading some json data from a file and showing as the options for a select list in a kendo mobile app. Can anyone spot what the issue is please?

My select item looks like this

                <li>
                    <select data-bind="value:model.product, source:products" data-text-field="name" data-value-field="name" >
</select>
Products
</li>

I have also tried datasource instead of source but had no luck.

My datasource in my view model is setup as follows:

self.products = new kendo.data.DataSource({
transport: { 
read: { 
url: "scripts/products.json", 
dataType: "json" 

            
}
});

My json file looks like this:

{ "name": "Product 1",  "owner": "Test" },
{ "name": "Product 2", "owner": "Test" }
]

When I run my app the select list is empty.

If I change my self.products to be inline json like below then it works ok. However, I would like to load this from a file.

self.products = [ 
{ name: "Product 1", owner: "Test" },
{ name: "Product 2", owner: "Test" }
];

Thanks
Alexander Valchev
Telerik team
 answered on 07 Jan 2013
1 answer
113 views
Hi,

When the value of a numeric text box is 0, I would like to have the value highlighted (= selected) when clicked.

Any pointers?

Thanks.
Alexander Valchev
Telerik team
 answered on 07 Jan 2013
2 answers
111 views
On my project I have 5 tabs at the bottom :-

        <div data-role="layout" data-id="mobile-tabstrip">
            <header data-role="header">
                <div data-role="navbar">
                    <span data-role="view-title"></span>
                </div>
            </header>

            <div data-role="footer">
                <div id="tabstrip" data-role="tabstrip">
                    <a href="#tabstrip-setup" id="tab-stage" data-icon="setup">Setup</a>
                    <a href="#tabstrip-knowledge" id="tab-knoweldge" data-icon="learn">Knowledge</a>
                    <a href="#tabstrip-merchant" id="tab-merchant" data-icon="stockist">Merchant</a>
                    <a href="#tabstrip-website" data-icon="www">Website</a>
                    <a href="index.html" data-rel="external" data-icon="information">About</a>
                </div>
            </div>
        </div>

Quite simply I want to switch tab based on a calling param...

document.addEventListener("deviceready", onDeviceReady, false);

// -----------------------------------------------------------------------------------------------
// PhoneGap is ready
// -----------------------------------------------------------------------------------------------
function onDeviceReady() {
    alert($.urlParam('tab'));
  
    // switch tab
    $("#tabstrip").data("kendoTabStrip").select(1);
        
}

but I can't get the select to do anything? Tried lots of calls, and going mad!

Also, I want to change the page that is displayed on the tab, which I am doing by changing the href of the tab itself... however this works the firstt ime, but then any previous attempts to change it fail. You can see this in my Sundial 
Mat-Moo
Top achievements
Rank 1
 answered on 07 Jan 2013
1 answer
470 views
Hi,

I want to display Custom Validation message for Kendo File upload control used in my ASp.Net MVC project. Currently, Kendo generates validation message using my model property and don't use [Required] attribute used for that property.
for example:
If my property is something like below:
 [Display(Name = "Document: ")]
 [Required(ErrorMessage = "Please Select Document to upload")]
 public System.Web.HttpPostedFileBase UploadedFile { get; set; }

Then UI displays validation message like "UploadedFile is required." but I want to display message as "Please Select Document to upload"

Please suggest me a proper way to display my custom validation message.

I am using Kendo for MVC with version 2012.2.913.340

Thanks,
Daniel
Telerik team
 answered on 07 Jan 2013
1 answer
152 views
How can prevent my views remember their previous scroll position? If I scroll down in one view, then go to another and back again, the first view starts from the scrolled position. This is a natural way in browsers, but I would like to force my view always start in the top position. I can't figure out how to make this happen.

I tried to add a data-before-show="gotoTop" in my views and then adding in kendo initialization this block function

<script>
var app = new kendo.mobile.Application();
function
gotoTop() { $('body').scrollTop();
}
</script>
but it does not seem to work. I am quite new to Kendo, so I appreciate any suggestions or help, thanks!
Kamen Bundev
Telerik team
 answered on 07 Jan 2013
1 answer
105 views
i have a CRUD form with window.
after enter textboxs value , data not passing to Grid (Master) and Controller.
then I get an error when saving .

There's a trick
on any text box Double click !
If I double-click, passing value  to  kendo Grid and Controller!
But I can not teach all users,That any value entered,Double click on the text box!

please help me.

i attached my error.
Atanas Korchev
Telerik team
 answered on 07 Jan 2013
1 answer
83 views
i have two table :
tblPerson: "PersonID,FName,LName,Dep" 
and
tblDep : "DepID,DepName"

i use combobox :

@(Html.Kendo().ComboBox()
              .Name("deps")
              .DataTextField("DepName")
              .DataValueField("DepID")           
              .Filter("contains")
              .DataSource(source => {
              source.Read(read =>
              {
                  read.Action("GetDeps", "Dep");
              });
              }))
i have  DataTextField and DataValueFiled . But value field is missing!
i need binding Dep filed in tblPerson to combobox!
how to do?
Atanas Korchev
Telerik team
 answered on 07 Jan 2013
1 answer
159 views
 Hi,
Are there any kendoUI or other telerik component that support signalR?Which bind with data from signalr
instead of asp.net repeater i want to use kendoUI  controller 
http://stackoverflow.com/questions/14103171/using-signalr-with-repeater
Atanas Korchev
Telerik team
 answered on 07 Jan 2013
3 answers
121 views
Hi,
i'm tryng to upload an image asynchronously. Settings of Kendo uplaod are OK, the script find the page but the php script of kendo find in GitHub don't seems to work (move uploaded file, etc,...), folder's permissions are setted on write mode.
Somebody can help me?

Alexander Valchev
Telerik team
 answered on 07 Jan 2013
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?