Telerik Forums
UI for ASP.NET MVC Forum
21 answers
1.7K+ views
Trying to make our sorting and filtering working with what comes in a DataSourceRequest but since the source codes for Kendo.Mvc.dll aren't available (yet?), can we see what your FilterDescriptor looks like (I can only see an IFilterDescriptor interface which has one method by going to object definitions).

I can submit a support ticket if that's a preferred way.

Thanks
Mo
Top achievements
Rank 1
 answered on 20 Jul 2012
0 answers
93 views
With the MVC extensions we were able to find the ID of the Uploader using something like this:
if ($(this).find("input#mainImageUploader").length > 0)

WITH KENDO we cant. Is there any way to get the ID of the Uploader in the Success event

Thank you
hn
Top achievements
Rank 1
 asked on 20 Jul 2012
1 answer
146 views
How can the following code

.Model(model => {
                model.Id(p => p.OrderID);
                model.Field(p => p.OrderID).Editable(false);
            })

be translated to Visual Basic?

Michael G. Schneider
mgs
Top achievements
Rank 1
 answered on 20 Jul 2012
1 answer
334 views
I have a model that includes a DateTime field. It has a "[Required]" attribute on the property. My .cshtml file includes this:

@(Html.Kendo()
    .DatePickerFor(p => p.CashReceipt.ReceivedOn)
    .HtmlAttributes(new { type = "text" })                                               
)

I'm not seeing the HTML attributes rendered into the output that I would expect, ex. data-val-required, etc.

I copied over the EditorTemplates from the sample project, then created a clean page to help isolate the problem. Instead of using the above, I tried this:

@Html.EditorFor(p => p.CashReceipt.ReceivedOn)

When this page runs, I see the validation attributes in the HTML as expected, however the JS on the page fails with "Uncaught TypeError: Object [object Object] has no method 'kendoDateTimePicker' "

I thought it might be because I have all of my JS references at the bottom of the page (to speed up page rendering), so I tested them at the top - I get the same error. 

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script
<script type="text/javascript" src="/Scripts/modernizr-1.7.min.js"></script>
<script type="text/javascript" src="/Scripts/jquery.validate.min.js"></script>
<script type="text/javascript" src="/Scripts/jquery.validate.unobtrusive.min.js"></script>
<script type="text/javascript" src="/Scripts/knockout-2.0.0.js"></script>
<script type="text/javascript" src="/Scripts/kendo.web.min.js"></script>
<script type="text/javascript" src="/Scripts/kendo.aspnetmvc.min.js"></script>
<script type="text/javascript" src="/Scripts/knockout-kendo.min.js"></script>


So the big question is - how do I make this work? More specifically, how do I make this work without just hardcoding the attributes in via the HtmlAttributes() method?
Georgi Krustev
Telerik team
 answered on 20 Jul 2012
1 answer
175 views
Just FYI a couple if issues I noticed in the docs site:

1) There is no MVC Extensions documentation for the Editor in the getting started section of the docs.
2) Noticed that the upload control section in the getting started uses the wrong namespace for the extensions (Should say Kendo() instead of Telerik()):
@(Html.Telerik().Upload()
        .Name("attachments")
        .Async(async => async
            .Save("Save", "Home")
        )
)

Thanks!
T. Tsonev
Telerik team
 answered on 20 Jul 2012
0 answers
128 views

Requirements

Kendo UI Suite and Version

212.606?
           

jQuery Version

1.8

Supported Browsers and Platforms

all    
           

Components/Widgets used 

Window, Panel, Editor

PROJECT DESCRIPTION 
In the previous MVC control we had 'FileBrowser' property where a browser could be added to manage images without the user having to know the url. Is there any support for this functionality anymore? I have looked at the help for API by all entries are machine generated and offer no examples etc or any help in converting my project.
Brett
Top achievements
Rank 1
 asked on 20 Jul 2012
3 answers
437 views

How would I implement the following (which is in an original MVC telerik grid onChange event handler) in a Kendo grid? Basically I need to capture the cancel click event and determine if it was from an add or an update.

$(e.form).find(".t-grid-cancel").click(function () {
 
    if (e.mode == "insert") {
        var urlPath = '@Url.Content( @"~\CatalogAdministration\RemoveBlankInventoryItem?inventoryItemId=")';
        urlPath += key;
 
        $.post(urlPath);
    }
 
});
 
$(e.form).find(".t-grid").data("tGrid").ajaxRequest({ inventoryItemId: key });
Joe
Top achievements
Rank 1
 answered on 19 Jul 2012
1 answer
135 views
c is not defined
We have loaded all the kendo Ui scripts and from the start of the page we get this error. I'm trying to use the grid and it loads the initiall model fine but whenever I try to page or sort data, the grid shows no data
Iliana Dyankova
Telerik team
 answered on 19 Jul 2012
0 answers
149 views

On your own site (as well as ours) when you look at the styles in IE8 and IE7 , they are completely different. When using the styles, for example

 

<a

 

 

class="k-button"><span class="k-icon k-i-arrow-s"></span></a> next to say a kendo combobox, in IE7 the layout is completely messed up whereas in other browsers, including IE8, its OK.

Are there any hacks we can use to solve this problem

 

hn
Top achievements
Rank 1
 asked on 19 Jul 2012
0 answers
129 views
Hai


I am going to create a new application with MVC architecture with Razor Syntax. And i want to use the telerik control in my application. Which control i can use for it. Is it possible to work with Asp.net Ajax controls?  or i should go for MVC Controls..


Tell me which is the best control to work with Razor Controls?


Thanks
sabarishbabu
Top achievements
Rank 1
 asked on 19 Jul 2012
Narrow your results
Selected tags
Tags
Grid
General Discussions
Scheduler
DropDownList
Chart
Editor
TreeView
DatePicker
ComboBox
Upload
MultiSelect
ListView
Window
TabStrip
Menu
Installer and VS Extensions
Spreadsheet
AutoComplete
TreeList
Gantt
PanelBar
NumericTextBox
Filter
ToolTip
Map
Diagram
Button
PivotGrid
Form
ListBox
Splitter
Application
FileManager
Sortable
Calendar
View
MaskedTextBox
PDFViewer
TextBox
Toolbar
Dialog
MultiColumnComboBox
DropDownTree
Checkbox
Slider
Switch
Notification
Accessibility
ListView (Mobile)
Pager
Security
ColorPicker
DateRangePicker
Wizard
Styling
Chat
DateInput
MediaPlayer
TileLayout
Drawer
SplitView
Template
Barcode
ButtonGroup (Mobile)
Drawer (Mobile)
ImageEditor
RadioGroup
Sparkline
Stepper
TabStrip (Mobile)
GridLayout
Badge
LinearGauge
ModalView
ResponsivePanel
TextArea
Breadcrumb
ExpansionPanel
Licensing
Rating
ScrollView
ButtonGroup
CheckBoxGroup
NavBar
ProgressBar
QRCode
RadioButton
Scroller
Timeline
TreeMap
TaskBoard
OrgChart
Captcha
ActionSheet
Signature
DateTimePicker
AppBar
BottomNavigation
Card
FloatingActionButton
Localization
MultiViewCalendar
PopOver (Mobile)
Ripple
ScrollView (Mobile)
Switch (Mobile)
PivotGridV2
FlatColorPicker
ColorPalette
DropDownButton
AIPrompt
PropertyGrid
ActionSheet (Mobile)
BulletGraph
Button (Mobile)
Collapsible
Loader
CircularGauge
SkeletonContainer
Popover
HeatMap
Avatar
ColorGradient
CircularProgressBar
SplitButton
StackLayout
TimeDurationPicker
Chip
ChipList
DockManager
ToggleButton
Sankey
OTPInput
ChartWizard
SpeechToTextButton
InlineAIPrompt
TimePicker
StockChart
RadialGauge
ContextMenu
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?