Telerik Forums
Kendo UI for jQuery Forum
1 answer
105 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
105 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
459 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
146 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
99 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
79 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
154 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
118 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
7 answers
150 views
how to all the buttons at the bottom of the window and drawing a border?

Dimo
Telerik team
 answered on 07 Jan 2013
1 answer
68 views
I was testing the KendoUI Grid row selection feature and found out that the change event is never fired in Chrome version 23.0.1271.97 m
on Windows 8 Pro 64bit
As an example you can try the demo page on your site http://demos.kendoui.com/web/grid/events.html 
The demo works on IE10 but not in the mentioned Chrome version.
Is there any workaround for this?

Update: Tried with Firefox 17.0.1 and works there too.
Nikolay Rusev
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
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?