Telerik Forums
UI for ASP.NET MVC Forum
1 answer
114 views
Hello again,
The grid,supports to double-click the column header margins,and resize automatically to its longest value?
,something like is in the windows Explorer and you see the files in Detail format.

Regards,
Daniel
Dimiter Madjarov
Telerik team
 answered on 24 Jul 2013
5 answers
545 views
I am having difficulty working out how to add a Date picker to the Grid ToolBar in order that I use it to filter a large data set (500,000+ reords).

The documentation for showing how to do this for Kendo UI doesn't translate easily to MVC warpper versions.
Vladimir Iliev
Telerik team
 answered on 24 Jul 2013
1 answer
147 views
Hello,

I am new to KendoUI MVC .... I want to do create a Kendo UI MCV grid just  like Telerik Grid demo   : Client-Side Insert/Update/Delete

Please see the attachment - I appreciated all your helps

Thanks,
Ann
Vladimir Iliev
Telerik team
 answered on 24 Jul 2013
2 answers
98 views
Hello,

the following bug only occurs in IE 8 and is only reproduceable with IE 8. It is not reproduceable, if you switch your browser to IE 8 mode (via IE Toolbar). So please use a "real" IE 8 browser to reproduce:

OK, here is the bug:
If you add the first row to an empty grid (grid is in batch mode) it is working fine. After you inserted the new row, the grids renders the first cell in edit mode. Now if you add another row, the cell automatically switches from edit-mode to display mode. This occurs for every new grid row > 1.

It also seems, that the bug is connected when using custom Editor Templates (UIHint property set to reference to a custom editor grid cell template). For example I created a simple EditorTemplates that renders the Kendo Auto-Complete Textbox when the grid cell is in edit mode.

Do you have any ideas what can cause the bug in IE 8, or do you need a sample application to reproduce the bug?
BigzampanoXXl
Top achievements
Rank 1
 answered on 24 Jul 2013
2 answers
81 views
Hello,

it seems a new has been introduced with the 2013 Q2 release. With Release 2013 Q1 SP it worked fine.

I have a ajax grid and have the "Member" property set on the columns, so I will know which column was clicked for sorting when reaching the ajax read method on the controller.
Here is a snippet of the razor view where I have set the "Member" property on the columns:
columns.Bound(c => c.ItemAttributes)
                       .ClientTemplate("#=gridClientTemplate(Unread, 'begin')#" + template + "#=gridClientTemplate(Unread, 'end')#")
                       .Title(Model.FolderColumns[id].ColumnDisplayName)
                       .Hidden(hiddenColumn)
                       .Width(240)
                       .Column.Member = Model.FolderColumns[id].ColumnUniqueName;
When I click on a the header of the column the Ajax Read Method is called. Now the problem is, that I always get "undefined" instead of the clicked Column-Name in the request.Sort[INDEX].Member property. Please take a look at the attached screenshot.

This is a very serious bug in the 2013 Q2 release, cause I can't do the column sorting anymore. Please try to fix that bug as soon as possible in one of the next Internal Builds.
If you need any more infos, just tell me. Thanks.
BigzampanoXXl
Top achievements
Rank 1
 answered on 24 Jul 2013
3 answers
206 views
I have a very complex Model which has multiple objects some of them are lists.
for example :
Data.MylistObject[0].StatusID

when I pass

var name =  ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty);

@Html.Kendo().ComboBox().Name(name)

on the page html the 

jquery that creates the combo will look like :

jQuery(function(){jQuery("#Data.MylistObject[\\0\\]_StatusID.kendoComboBox

but jscript code refrencing the combo written in @ 
$('[name=@id].data('kendoComboBox')

is translatet to this code on the page

$('[name=Data.MylistObject_0__StatusID].data('kendoComboBox')

this inconsistency causes the code that is ment to taggle the options.filter paramenter to stop working due to the fact that the combo is not selected due to the difference in names.

the only way I found arround this is to pass  the id to the name property @Html.Kendo().ComboBox().Name(id)

and use 

$('#@id].data('kendoComboBox')

which works , there seems to be a problem with the way kendo parse [0] part of the member name.

Yours,

Ariel




Daniel
Telerik team
 answered on 24 Jul 2013
1 answer
98 views

Hello,

I am creating a menu and I am trying to get the LAST item to float right,
as you can see in my code, I am setting the last item HTMLAttributes @class to float right but it is not repsecting that.

What can I do to fix it.

@(Html.Kendo().Menu().Name("Menu")
            .Items(items =>
                {
                    items.Add().Text("Clear Jobs")
                        .Items(i =>
                            {
                                int days = ViewBag.LogDetailDays;
 
                                i.Add().Text("Clear jobs created more than " + days + " days ago")
                                    .Action("Jobs_DeleteLast", "Jobs")
                                    .HtmlAttributes(new { onclick = "return confirm('Are you sure you want to clear jobs?');" });
                                i.Add().Text("Clear all jobs")
                                    .Action("Jobs_DeleteAll", "Jobs")
                                    .HtmlAttributes(new { onclick = "return confirm('Are you sure you want to clear jobs?');" });
                            });
 
                    items.Add().ImageUrl("~/Images/refresh.png")
                         .Url("~/Jobs.html")
                         .HtmlAttributes(new { onclick = "refreshGrid()",
                                               @class = "float-right",
                                               title = AdminUI.RefreshButton_Tooltip })
                                               .Url("#");
                })
    )
Dimo
Telerik team
 answered on 24 Jul 2013
1 answer
136 views
How do I add a button to a tooltip so that when it is clicked it passes the dataItem of that point to a function? I need this to work across multiple types of charts.
Hristo Germanov
Telerik team
 answered on 23 Jul 2013
1 answer
128 views
Hi,
 
im building a hierachy using grids for example: category -> products -> orders. i have in my category a list of products (public list<products> products {get; set;} and my products have a list of orders (public list<orders> orders { get; set; }).im using a hierachical grid structure with client templates defined for the parent grids.

Now, when i add a category i do not create a record in DB but create it only on the Client (through javascript/Jquery) and so with products and orders. (i have logic to uniquely identify elements(grids) in the hierachy that enables me to add children under parent nodes). I want to be able to save all changes at one shot when i click a button(Save).

* has someone tried something like this before with hierachical grid?
* Is there an another way to accomplish this?
* I tried to loop through the grid in javascript and take the data from child grids and assign it to the parent. i.e take orders and put it under products then take these products and put them under category. Once i call grid.saveChanges() (on the top most parent grid) and reach the controller the product list in category has fields that are null or if there are integer properties they are all reset to 0. Serialize? type mis match? what is causing this behavior? any examples?

basically, if i could build an association with parent and child grid without hitting the controller to fetch child information with the #=parentID# that would be great!

thanks!
Petur Subev
Telerik team
 answered on 23 Jul 2013
2 answers
467 views
I m trying to add resources from the server. Is this possible.
I tried passing a Ienumerable from the viewmodel to bindto, but got error above.
I tried using read on resouces , I do not get an error but colors not showing up
Any example on how to do this? I think I am lost here

What I have so far.
@code
    Dim s As Kendo.Mvc.UI.Scheduler(Of BO.Models.Bookings.BookingEvent) = Html.Kendo().Scheduler(Of BO.Models.Bookings.BookingEvent)() _
    .Name("scheduler") _
    .Date(Date.Today) _
    .StartTime(Date.Today.AddHours(7)) _
    .Height(600) _
    .Timezone("America/Phoenix").Resources(Function(resource) resource.Add(Function(m) m.TeamId) _
                                           .Title("Owner") _
                                           .DataTextField("Name") _
                                           .DataValueField("TeamId") _
                                            .DataColorField("Color") _
                                           .DataSource(Function(d) d.Read("resouces", "services", New With {.area = String.Empty}))) _
    .Views(Sub(views)
                   views.DayView()
                   views.WeekView(Function(weekView) weekView.Selected(True))
                   views.MonthView()
                   views.AgendaView()
           End Sub) _
    .DataSource(Function(d) d.Model(Sub(m)
                                            m.Id(Function(f) f.BookingId)
                                            m.Field(Function(f) f.TeamId).DefaultValue(1)
                                    End Sub) _
    .Read("read", "services") _
    .Create("Create", "Scheduler") _
    .Destroy("Destroy", "Scheduler") _
    .Update("Update", "Scheduler"))
 
    s.Render()
End Code
Alan Mosley
Top achievements
Rank 1
 answered on 23 Jul 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
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
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?