Telerik Forums
UI for ASP.NET MVC Forum
2 answers
89 views
Hi Guys,
I was trying to follow your instructions, downloaded couple test projects from this forum, but I cannot make ComboBox show up without error unfortunately. The error is attached as image.  

Unfortunately I cannot attach project archive here, its 3.2 MB. You can find the archive here:
https://mega.co.nz/#!iVBERZBS!GxynyTs87MJHuzOub4VoBw4iSSUmDv7cOxP3ml0kp

Can you please take a look, I was just trying to show simple ComboBox on /Home/Index.cshtml

Thank you in advance!
sta
Top achievements
Rank 1
 answered on 05 Apr 2013
1 answer
128 views
On this page.

http://docs.kendoui.com/getting-started/framework/globalization/overview

The first link with the name "this help topic" points to a blank page.

http://docs.kendoui.com/getting-started/framework/globalization/formatting
Dimiter Madjarov
Telerik team
 answered on 04 Apr 2013
1 answer
175 views
I need to preserve the filter, page, sort of my grid after moving off the page and coming back to it.  I found using a cookie to preserve grid state in the code library: http://www.kendoui.com/code-library/web/grid/preserve-grid-state-in-a-cookie.aspx. I have an MVC application, so I am having some difficulty understanding what is going on in the example, and what I would need to do to make this work with MVC.  Can someone explain how to make this logic work with MVC?
Dimiter Madjarov
Telerik team
 answered on 04 Apr 2013
5 answers
126 views
I have just updated to the latest build this morning.

2 issues with the grid:

a) when I click insert (toolbar) - it works the first time - the 2nd time - i have to refresh the browser.

b) when on the 2nd or higher page of a grid, clicking the insert does not have the popup appear.  By the looks of it, the shadow record is added to the grid on insert ... and since it's on another grid page - causes the grid to refresh and the popup edit window does not appear.

Update:  It seems like the edit popup edit window will open the first time (editing grid row) - but after that - the attached image shows what's breaking.
Rene
Top achievements
Rank 1
 answered on 04 Apr 2013
2 answers
187 views
If you have a menu and add a item like the line below. All menu items after the line show up even if the authorize say they should not. The menu work as expected if the line is  the last line. (1q 2013)
items.Add()
       .Text("Användare").Action("Index", "Dashboard", new { area = "SecurityGuard" });
Jan Olsmar
Top achievements
Rank 1
 answered on 04 Apr 2013
5 answers
435 views
DropDownLists (or ComboBoxes) for numeric members on the model do not post their value when used in a grid. I have attached a sample project. Is there anything I am doing wrong or need to do differently in order to accomplish this?
Daniel
Telerik team
 answered on 04 Apr 2013
1 answer
162 views
I've implemented a simple grid with popup editor templates. CRUD operations are implemented using AJAX calls.

Problem 1 - Duplicate records being created. 
I create a first record and it is added fine. When I create a second record, the first one is duplicated (along with the second record being created). I have resolved this issue by setting the ID of the model on creation and returning to client. 

Problem 2 - Multiple Delete calls
When I delete one record it works fine. When I delete a second record, two calls are made, this one and the previous one. As the previous record has already been deleted an exception is generated.

Problem 1 and 2 are both resolved if I refresh the browser after each operation. Is this a known issue? Is there a way to manually refresh the grid after each operation?  
John
Top achievements
Rank 1
 answered on 04 Apr 2013
3 answers
113 views
I am unable to get the grid to show the date properly when using objects within objects.
Here's a small example of where I am seeing this problem

HomeController.cs

public ActionResult Index()
{
    return View();
}
 
public static IEnumerable<Models.Customer> GetCustomers()
{
    var db = new Data.SomeDataContext();
    var query = ...
    return query;
}
 
public static IEnumerable<Models.Orders> GetOrders()
{
    var db = new Data.SomeDataContext();
    var query = ...
    return query;
}
 
public ActionResult CustomerOrder_Read([DataSourceRequest] DataSourceRequest request)
{
    var query = from o in GetOrders()
                 join c in GetCustomers() on o.CustomerAccountNumber equals c.AccountNumber
                 select new CustomerOrder
                 {
                     Order = o,
                     Customer = c
                 };
 
    return Json(query.ToDataSourceResult(request));

}

~/Home/Index.chtml

<div>
    @(Html.Kendo().Grid<Apex.Models.CustomerOrder>()
        .Name("Grid")
        .Columns(col =>
        {
            col.Bound(p => p.Order.OrderId);
            col.Bound(p => p.Order.Date);
            col.Bound(p => p.Order.Status);
            col.Bound(p => p.Customer.Name);
            col.Bound(p => p.Customer.Mobile);
        })
        .DataSource(data => data
            .Ajax()
            .PageSize(10)
            .Read(read => read.Action("ServiceOrder_Read", "Home"))
        )
        .Sortable()
        .Pageable()
    )
</div>

ExampleModels.cs

public class CustomerOrder
{
    public Customer Customer { get; set; }
    public Order Order { get; set; }
}
public class Customer
{
    public string AccountNumber { get; set; }
    public string Name { get; set; }
    public string Mobile { get; set; }
    public DateTime CreatedDate { get; set; }
    public DateTime ModifiedDate { get; set; }
}
 
public class Order
{
    public string Status { get; set; }
    public string OrderId { get; set; }
    public DateTime Date { get; set; }
}

Result

The problem is that the grid results should show a DateTime; However, it shows this...
Order    Date                     Status    Name    Mobile      
00-01 /Date(1364670000000)/ Open Adam 111-111-1111
00-02 /Date(1364670000000)/ Closed Eve 222-222-2222
00-03 /Date(1364670000000)/ Open Buddha 333-333-3333

Vladimir Iliev
Telerik team
 answered on 04 Apr 2013
1 answer
181 views
Does the KendoUI grid for ASP.NET MVC gracefully handle the back button out of the box? I assume it would do something like adding page numbers, search filters, sorting options, etc. as hashtags to the URL.

Is this possible?

Thanks!
Vladimir Iliev
Telerik team
 answered on 04 Apr 2013
8 answers
489 views
Hello
I want to implement "CrossTable"!
I found an example from Telerik, but could not find from you!
Can I use something other than DataTable (gridBindingToDataTable)?
 
please help!
and sorry for my bad english!
Gusev
Top achievements
Rank 1
 answered on 04 Apr 2013
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
MultiColumnComboBox
Dialog
DropDownTree
Checkbox
Slider
Switch
Notification
Accessibility
ListView (Mobile)
Pager
ColorPicker
DateRangePicker
Security
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?