Telerik Forums
Kendo UI for jQuery Forum
3 answers
147 views

Hello everyone, 

 

I am making a post-back as part of the drop event. I would like value of e.valid to be set whether the post-back was successful. The issue I run into is that since $.post(..) is an asynchronous call, the Treelist will determine whether the move is valid with the current value of e.valid before the data is returned from the post.

 

Is there a way to determine whether to complete the drop from the result of the post-back?

 

Thank You in advance

Kamal Singh

Angel Petrov
Telerik team
 answered on 22 Dec 2017
8 answers
3.1K+ views
I am using the the kendo dropdown (HTML5 script), and this issue popped up recently where the vertical scroll bar is missing and the values that should be hidden show through the  kendo window the drop down is in. Has anyone seen this issue before and know how to fix it.
Konstantin Dikov
Telerik team
 answered on 22 Dec 2017
2 answers
1.7K+ views

Trying to refresh a tab on the TabStrip with a different URL.  The below code use to work but doesn't anymore since upgrading to the most resent 2017.3.1026 release.

var refreshUrl = '@Url.Action("TabContent", "Home")/' + param;
 
 var tabstrip = $("#lobbyTabStrip").data("kendoTabStrip");
 var tab = tabstrip.select();
 
$($('#tabStrip').find('a.k-link')[tab.index()]).data('contentUrl', refreshUrl);
 tabstrip.reload(tab);

 

The URL isn't being updated,  same url as before is being updated.  What do I need to do to make this work again.

Neli
Telerik team
 answered on 22 Dec 2017
5 answers
212 views

Hi!

Please have a look at this demo: http://dojo.telerik.com/AWamE

Try typing non-number values inside the phone section. You will get a validation message, but you have to click 2 times the "cancel" button to dismiss.

 

Ivan Danchev
Telerik team
 answered on 22 Dec 2017
3 answers
864 views

I'm using the kendo-multi-select directive (Kendo for AngularJS) with an array as a data source (no server filtering).
When I type in the multi select component to filter, the dataBound event is fired along with the 'filtering' event, although the documentation states that this event is "Fired when the widget is bound to data from its data source", which in my case is only once.

Is this the correct behavior for the dataBound event? Or is it a bug?
And if that's the correct behavior, what is the difference between the dataBound event and the 'filtering' event?

Thanks

Dimitar
Telerik team
 answered on 22 Dec 2017
1 answer
1.1K+ views

Is it possible to have a bootstrap dropdown menu in a grid?

 

        <button class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-caret-down" aria-hidden="true"></i></button>
        <ul class="dropdown-menu">
            <li>
                <a href="/home/redirecttosystem?systemid=1">Evidence</a>
            </li>
            <li>
                <a href="/home/redirecttosystem?systemid=3">QMaster</a>
            </li>
            <li>
                <a href="/home/redirecttosystem?systemid=4">Impound</a>
            </li>
        </ul>

Alex Hajigeorgieva
Telerik team
 answered on 22 Dec 2017
1 answer
177 views

Hello support,

are the icons for a window's pinned state (true/false) correct?

To me they seemed switched around.

Please see https://demos.telerik.com/kendo-ui/window/index

Shouldn't the icon for pinned = true state (where the window can't be dragged) be the vertical pin?

/Morten

Neli
Telerik team
 answered on 21 Dec 2017
1 answer
137 views
I have a parent grid that has two different views.  Each has it's own child grid.  I have the columns and data working just fine but I need to apply a different visual template to the entire child grid based upon the view of the parent.

I understand how to apply a conditional template to a row or column but How do I apply a conditional template for the entire grid?
Preslav
Telerik team
 answered on 21 Dec 2017
1 answer
373 views

We are using a Grid with a dynamic type. This has been working for us until we ran into the problem of a column editor template receiving null data. The editor template accepts non-nullable TimeSpans but when the grid initializes it is trying to send this editor template a null TimeSpan object. When I change the grid to one of the classes it should be getting such as DownTimeViewModel this error doesn't happen.

 

"Message: The model item passed into the dictionary is null, but this dictionary requires a non-null model item of type 'System.TimeSpan'."

 

@(Html.Kendo().Grid<dynamic>()
      .Name("SomeName")
      .Columns(columns =>
      {
          foreach (Field field in cols)
          {
 
              if (string.IsNullOrWhiteSpace(field.EditorTemplateName))
              {
                  throw new NotImplementedException("EditorTemplate is not set and it needs to be");
              }
 
              columns.Bound(field.Member)
                  .Title(field.Title)
                  .Visible(field.Visible)
                  .Hidden(field.Hidden)
                  .Filterable(field.Filterable)
                  .IncludeInMenu(field.IncludeInMenu)
                  .Encoded(field.Encoded)
                  .Format(field.Format)
                  .Width(field.Width)
                  .Sortable(field.Sortable)
                  .ClientTemplate(field.ClientTemplate)
                  .EditorTemplateName(field.EditorTemplateName)
                  .HeaderHtmlAttributes(field.HeaderHtmlAttributes)
                  .EditorViewData(Util.CreateNewObject(field.AdditionalViewData));
 
          }
      })
      .Scrollable()
      .ToolBar(toolbar =>
      {
          toolbar.Create();
          toolbar.Custom().Text("Delete").Action("Grid_Delete", "Downtime", new { WONumber = Model.WONumber });
          //toolbar.Save();
      })
      .Editable(editable => editable.Mode(GridEditMode.InCell))
      .Sortable()
      .DataSource(dataSource => dataSource
        .Ajax()
        .Batch(true)
        .PageSize(5)
        .Model(model =>
        {
            foreach (Field field in cols)
            {
                model.Id(field.Member);
            }
 
            foreach (Field field in cols)
            {
                model.Field(field.Member, field.MemberType).DefaultValue(field.DefaultValue).Editable(field.Editable);
            }
        }
          )
          .Read(read => read.Action("Grid_Read", "Downtime", new { id = Model.WONumber.ToString() }))
          .Create(create => create.Action("Grid_Create", "Downtime"))
          .Update(update => update.Action("Grid_Update", "Downtime"))
          .Destroy(destroy => destroy.Action("Grid_Delete", "Downtime"))
      ))

 

 

Konstantin Dikov
Telerik team
 answered on 21 Dec 2017
1 answer
237 views

Hello,

 

in kendo.all.d.ts is where it is defined that for properties in interface DataSourceTransport Function can be used in the interface and therefore does not want to DataSourceTransportWithFunctionOperations what is TypeScript 2.5 Compiler to compile the project.

Rewards

I. Stanek

Konstantin Dikov
Telerik team
 answered on 21 Dec 2017
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
ContextMenu
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
DateTimePicker
RadialGauge
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?