Telerik Forums
UI for ASP.NET MVC Forum
1 answer
467 views

Hi,

I'm evaluating the grid with the trial version to see if your solution fits into our web application.

I'm trying to adapt the grid in our web asp.net MVC and I've encountered a problem with the filters date.

We need to enter "> = 1.1.2018" or "1.1.2018#31/12/2018" and it reaches FileDescriptor request as a value. With this i build the query to launch the SQL server. 

 Now no Filters arrive to request  from ajax "Consulta_Viajes"

@(Html.Kendo().Grid<ViewModels.ViajesViewModel>()
   .Name("grid")
   .EnableCustomBinding(true)
   .Columns(columns =>
        {columns.Bound(c => c.itdavia).Hidden();
         columns.Bound(c => c.ctdavia).Title(LocalizationResources.Strings.viaje);
         columns.Bound(c => c.ctrnest).Title(LocalizationResources.Strings.codigo_estado);
         columns.Bound(c => c.dtrnest).Title(LocalizationResources.Strings.estado);
         columns.Bound(c => c.ftdavia).Title(LocalizationResources.Strings.fecha_viaje).Groupable(false).Format("{0:dd/MM/yyyy}").Width(150);
         columns.Bound(c => c.htdavia).Title(LocalizationResources.Strings.hora_viaje).Groupable(false).Format("{0:HH:mm}");
         columns.Bound(c => c.cdvn).Title(LocalizationResources.Strings.codigo_division);
          })
    .Scrollable()
    .Groupable()
    .Sortable()
    .Filterable(ftb => ftb.Mode(GridFilterMode.Row)
                    .Extra(false))
   .Pageable()
   .Resizable(resize => resize.Columns(true))
   .Reorderable(reorder => reorder.Columns(true))
   .DataSource(dataSource => dataSource
      .Ajax()
      .Read("Consulta_Viajes", "AsignacionMensajero", new { strTabla = "tdavia" })
      .ServerOperation(true)
                                                    )
   .Deferred(true)
   .AutoBind(false))

 

How can I do this?

Thanks in advance.

Regards.

 

Konstantin Dikov
Telerik team
 answered on 19 Apr 2019
11 answers
2.6K+ views

Hi,

In our app we have a js frunction to prevent the autocomplete of inputs and textboxes:

function autoCompleteOff() {
    $(':text, form').attr('autocomplete', 'nope');
}

The function it's loaded when the app starts so that be executed in every form we have.

The problem that we have is that when we open a kendo window the function it's not working and the text boxes show possible options to select.

 

We would like know how to load this function and prevent these suggestions.

We could add a call in each window but it does not seem like the best option. We believe that it should be defined only once. Any idea how to fix it?

Thanks in advance.

Ivan Danchev
Telerik team
 answered on 17 Apr 2019
1 answer
168 views

Hello,

I have a requirement to alter the 'Year' view to have 3 months per row which would make it 4 rows of 3 months. Is this something that is currently possible to achieve?

Thank you
Lucy

Konstantin Dikov
Telerik team
 answered on 16 Apr 2019
1 answer
232 views

Hi,

My co-worker sent a excel file to me he just created. I can open it by double clicked file in the folder. But when I try to use Kendo Ul Upload control to select it I got " You don't have permission to open this file. Contact file owner or administrator to obtain permission".  My co-worker said he didn't do any special thing for this file. I checked property - security tab. It same as another file which  I could select it. Could anyone help the issue?

Thanks in advance!

Veselin Tsvetanov
Telerik team
 answered on 16 Apr 2019
1 answer
647 views

Please see the attached screenshot.

This happens when I follow these instructions.

My application is a Core WebApplication targeting Framework 4.7.2.
Now this reference worked just fine when I was using the Trial package. I've just upgraded to my commercial licence and I can't get the reference to take.
Advice please.

Veselin Tsvetanov
Telerik team
 answered on 16 Apr 2019
3 answers
1.0K+ views

Hi guys, I'm new to the Kendo, I want single search option on top of the grid.How can I make this using Kendo controls?

Viktor Tachev
Telerik team
 answered on 16 Apr 2019
3 answers
1.4K+ views

Hi!

 

I have a kendo grid  in my MVC project, with inline editing enabled and everything works beautifully. I use read, update and create methods on the datasource to manage the data.

I also have a summary section on my page, so after a user edits a row, i need to update the summary and there is no "built in method" on the DataSource for this.

So after some investigation, it seems i need to use the requestEnd event, however, as soon as i do that, the read, update and create methods stop working.

Is there a workaround for this?

Below is small piece of the code, I've removed some not relevant bits:

                            .DataSource(dataSource => dataSource
                                .Ajax()
                                .ServerOperation(false)
                                .AutoSync(true)
                                .Model(model => model.Id(i => i.Id))
                                .Read(read => read.Action("Index", "InvoiceGrid", Model.SelectedVendorId))
                                .Update(update => update.Action("UpdateGrid", "InvoiceGrid"))
                                .Create(create => create.Action("AddInvoice", "InvoiceGrid", new { batchId = batch.batch.Id }))
                                //.Events(ev => ev.RequestEnd("refreshSummary"))
                                ).ToHtmlString()

If i uncomment the Events line above, it breaks the read, update and create methods.

Is there a workaround for this?

Bruce

Bruce
Top achievements
Rank 1
 answered on 15 Apr 2019
3 answers
239 views
I have been looking through the forms for sometime now to find an answer. I have a hierarchy grid that works well. However I need to iterate through the data later. I want to eager load my hierarchy grid. The only thing I have found so far are some older answers using jquery from 2013 here . Is there a more modern approach using Asp.net MVC I could use?
Hans
Top achievements
Rank 1
 answered on 15 Apr 2019
11 answers
378 views

High,

I just updated to 2019.1.115 and have a problem with the Kendo Menu. The links have lost their blue color. See the attached screenshots for the difference. Other links are blue as expected. Can you please help me restore the blue color to the links in the Menu control?

 

Best regards,

Henrik

Devin
Top achievements
Rank 1
 answered on 12 Apr 2019
12 answers
330 views

We downloaded the telerik toolkit trial and then downloaded MVC VSExtentions for VS 2017 but we didnt find the add new scaffolding item. would you please help?

 

Nencho
Telerik team
 answered on 12 Apr 2019
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
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
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?