Telerik Forums
Kendo UI for jQuery Forum
4 answers
519 views

Can anyone help me how to delete a row from a row template grid.

I am using this kind of grid http://demos.telerik.com/aspnet-mvc/grid/rowtemplate,

is there an option that i can use with the Batch Editing grid that has a destroy button, that`s because i want to delete a row that has an image.

I will wait for your answers.

 

Stephen
Top achievements
Rank 2
 answered on 21 Oct 2016
1 answer
563 views

Hi,

I am trying to figure out why exporting to excel does not work for me. After some digging into kendo's src code, this is the result of "this.options.name" is undefined - where 'this' is a WorkBook Object. This error is in the public "toDataUrl" function. Attached is the line in which it errors out - and below is the options I have for the grid. 

 

      toolbar: ["excel"],
      excel: {
        allPages: true,
        fileName: "Socialie-Stats.xlsx"
      },

 

Thanks!

Stefan
Telerik team
 answered on 21 Oct 2016
1 answer
202 views

When an editor is used inside a popup, and you add a table to the editor. You cannot use the mouse to resize the columns/rows of the table.

 

http://jsbin.com/EveTOTa/3/edit

http://jsbin.com/EveTOTa/4/edit

Misho
Telerik team
 answered on 21 Oct 2016
2 answers
1.0K+ views

I want to add an additional UserMessage property to the Kendo.Mvc.UI.DataSourceResult that I can access in the datasource change event on the client. The problem is I cant seem to access or see my new property in the javascript datasource Change event.

I extend the existing Kendo.Mvc.UI.DataSourceResult class as below.

public class KendoDataSourceResult : Kendo.Mvc.UI.DataSourceResult
 {
   public KendoDataSourceResult(Kendo.Mvc.UI.DataSourceResult dataSourceResult)
   {
     this.AggregateResults = dataSourceResult.AggregateResults;
     this.Data = dataSourceResult.Data;
     this.Errors = dataSourceResult.Errors;
     this.Total = dataSourceResult.Total;
   }
   //This is my new Property - I want to be able to access this on the
   public string UserMessage { get; set; }
 }

 

In my datasource read method I have the following code which sets my new property.

public ActionResult SearchResults_ReadData([DataSourceRequest]DataSourceRequest request)
{
  IEnumerable<MyData> result = GetMyData();
 
  DataSourceResult x = result.ToDataSourceResult(request);
  KendoDataSourceResult returnResult = new KendoDataSourceResult(x);
   
  //Set my new property here
  returnResult.UserMessage = "My Test User Message<br/>Second line here<br/>Third line here";
  return Json(returnResult, JsonRequestBehavior.AllowGet);
}

 

How do I get the UserMessage property in my javascript Change event?

function datasourceOnChange(e) {
  if (e && e.sender) {
    var dataSource = e.sender;
    
   //How do I get my UserMessage property ????
    var msg = dataSource.UserMessage; //this dosnt work
  }
}

 

 

 

Alex Hajigeorgieva
Telerik team
 answered on 21 Oct 2016
3 answers
805 views

Hi,

I'm trying to upload multiple files, and for each file I need to pass 2 more values: 'Display Name' and 'Description'. I've added two more input boxes to the template for each file and set the process to async, AutoUpload(false) and Batch(False).

On the Upload event I want to pass these two values:

var fileName = .{ get file name};

e.data = { DisplayName: $("#DisplayName_" + fileName).val(), Description: $("#Description_" + fileName).val() };

I drag and drop files, enter names and decs for each of them and I press the 'Upload' button, but onUpload event doesn't fie. 

@(Html.Kendo().Upload()
                          .Name("files")
                          .TemplateId("fileTemplate")
                          .Async(a => a
                              .Save("SaveFile", "Test")
                              .AutoUpload(false)
                       .Batch(false))  
                          .Events(events => events
                              .Upload("onUpload")
                          ))
function onUpload(e) {
        alert('onUpload');
}
Dimiter Madjarov
Telerik team
 answered on 21 Oct 2016
1 answer
220 views

Hello please take a look a following example:

http://dojo.telerik.com/uZeqU/4

it is showing  dropdownlist which not working for following configuration:
animation:false
filter:"contains"
The problem occurs in internet explorer 11.
Dropdownlist is not opening.

Any solution for that? 

 

Dimiter Topalov
Telerik team
 answered on 21 Oct 2016
1 answer
89 views

Hi,

I am wondering if this is possible to create inverted treeview. I want it to expand to the up instead of default direction. See example after expanding the node:

Default:

Parent -

    Child +

    Child +

 

What I need:

    Child +

    Child +

Parent -

 

Thank you for your reply.

Rafał

Nikolay Rusev
Telerik team
 answered on 21 Oct 2016
1 answer
92 views

I have a page that opens up a KendoWindow with a Grid.  I have a Kendo DDL outside of my Grid that calls a method to filter the contents of the grid from the Ajax datasource. The Grid is wrapped inside a form.  The DDL is outside of the form, but calls a function to filter the rows in the Grid.  Each row of the Grid has a button that submits the form with the value of the button that was clicked.  After updating to R3, when the DDL is used to filter the Grid, the Grid is refreshed, but when clicking ANYWHERE in the browser, even clicking in the developer tools which are open in a separate window, causes the Grid to filter again (appears to flicker) and allows the Grid to function as it did with R2.  This happens in IE11 and the latest version of Chrome.

In the change log for this release states that one of the issues fixed for Grids was: Grid filter flickers on IE 11 when the widget is loaded inside Window.  I never had a problem, with but R3, I think that maybe this fix is possible the cause of my issue.

Stefan
Telerik team
 answered on 21 Oct 2016
3 answers
120 views
I have changed the angular scheduler demo by changing the jquery reference to <script src="http://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> and it no longer works, it works with 2.3 but not 3.1.1.1  I have attached the demo file with the change.  What is the maximum version of jquery you support with the scheduler?
Eduardo Serra
Telerik team
 answered on 20 Oct 2016
1 answer
445 views

If you try this example, where I added style on multiselect to display it width as 30%, default margin stays and I cant remove it.

http://dojo.telerik.com/UcABo

 

Inspect multiselect widget and hover class .k-widget.k-multiselect.k-header and you will see that margin  (also you can see it on attachment below). This doesn't show in dropdown list. My question is, how to remove that margin?

 

 

 

 

 

Stefan
Telerik team
 answered on 20 Oct 2016
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
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)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
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?