Telerik Forums
Kendo UI for jQuery Forum
2 answers
630 views
I'm converting a web site that puts complex Razor code into a TD cell. How is Razor code put into a template on a Kendo Grid?

Sample of the code that needs to get run and put into a cell:

@if (item.IsActionAvailable())
      {
       using (Html.BeginForm("Subscribe", "abc", FormMethod.Post, new { id = @formId }))
                       {
                               <div id="@divId" class="subForm">
Dimiter Madjarov
Telerik team
 answered on 17 Jul 2013
1 answer
1.2K+ views
My Model has a Datetime that comes as a null sometimes. This renders as 1/1/0001

I can't edit the Model.

Is there a way to put in a condition in the Client Temple so that nulls are not displayed, something like this??

@(Html.Kendo().Grid(Model.Items as IEnumerable<XYZ>)
        .Name("KendoCrGrid")
       .Columns(columns =>
                {
                columns.Bound(e => e.SignUpDate).ClientTemplate("#= <condition> ? kendo.toString(date, 'MM/dd/yyyy')#");
Dimiter Madjarov
Telerik team
 answered on 17 Jul 2013
6 answers
152 views
I have added two TextBoxes and a button in an html page. When user focus on the textboxes the softkeyboard is displaying and its appearing over the textboxes in such a way that the user cannot see the textboxes and its content. Please provide a solution to prevent the overlapping of softKeyboard over the textbox.


Thanks,
Amrutha
Top achievements
Rank 1
 answered on 17 Jul 2013
2 answers
53 views
on an iPad or iPhone I am unable to predictably allow for a datapoint to be selected on a series for a line.  when I run under chrome on a desktop this works very well.

This isn't a bug as I believe the issue is simply that the end of a person's finger is quite a lot larger than the circle that represents the data point.  As a result the "click" events just aren't getting close enough.

Is there any way to allow for a larger hit radius on a point something I could do that would pickup events for near misses?  

I am using a single line series on top of a single area series.  The points are spaced apart enough that I if I had access to the datapoint's true x,y position I could probably make something work.
Jim
Top achievements
Rank 1
 answered on 16 Jul 2013
1 answer
136 views
I know there are server wrappers for ASP.NET MVC, JSP and PHP.

Why aren't there server wrappers for ASP.NET webforms?  Is there a technical reason or simply not enough demand?
Kiril Nikolov
Telerik team
 answered on 16 Jul 2013
3 answers
160 views
Hello,

I am having trouble with rendering a DatePicker.  When I use test data with a date format of 07/18/2013 the datepicker renders correctly.  When I get data from a web service call from a MySQL database the format is 2013-07-18 00:00:00 when retrieved using a SQL statement from phpMyadmin.  The date returned from as JSON is formatted as a JSON date /Date(1374120000000-0400)\.  When I use the JSON date the DatePicker does not render and instead shows a date Thu Jul 18 2013 00:00:00 GMT-0400 (Eastern Daylight Time).  What step(s) am I missing that will allow me to correctly render the DatePicker with the JSON formatted date?

Scott
Kiril Nikolov
Telerik team
 answered on 16 Jul 2013
4 answers
251 views
Hi,

Can I use different format for input tag value and date picker display?
as sometimes the form need a full standard date format to submit.

Thanks.
CH
Top achievements
Rank 1
 answered on 16 Jul 2013
0 answers
192 views
I am getting this error when filtering a date column in kendo web grid. 
I see the parameters as this 
filter[filters][0][field] DissolutionDate
filter[filters][0][operator] eq
filter[filters][0][value] Sun Jan 01 2012 00:00:00 GMT-0800 (Pacific Daylight Time)
filter[logic] and
page 1
pageSize 20
skip 0
take 20

looks like this has the same issue http://www.kendoui.com/forums/kendo-ui-web/grid/remote-filtering-date-bug.aspx#boGR266aG2OF1P8AAFTdxQ

thanks
roel
Roel
Top achievements
Rank 1
 asked on 16 Jul 2013
8 answers
1.3K+ views
Hi,

I experienced a strange behavior with the new beta version. I can't tell if this is a new bug.
I'm using batch grid edition. Click on Delete and Save Changes. The change is really committed on the sever at this point.
I click on 'Cancel' and my record is back on the grid. Since it has been already deleted, if I try to edit or destroy it raised errors.
Do you have any work around for this?

The beta demo is doing grid edition on local data. I think a example with server-side data would be very good sample to add.
The behavior could certainly be different.
Thank you.
Matthew
Top achievements
Rank 1
 answered on 16 Jul 2013
5 answers
359 views
Hi Guys,

I seem to be encountering an issue with the combo box and autocomplete web controls.

When using it on desktop, it all works fine and as intended. However, when on a mobile device (both ios 6 and android 4.0) the combo box and autocomplete controls behave as if they have
overflow: visible;
set.

This means that if there are more than 8 results in either of these controls, the remaining elements display past the containing element (see attached image for a contrived example) and the control is effectively useless. This is a very difficult case to include a example project for as it only happens on mobile devices.

If anyone can give any advice, or has encountered this before it would be much appreciated.

Thanks,
Alexander Valchev
Telerik team
 answered on 16 Jul 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?