Telerik Forums
UI for ASP.NET MVC Forum
2 answers
207 views

Hi, I've got 2 dropdownlist dd1 and dd2. I need this functionality:

 

  1. First, both dd are enabled, each of them load all its items
  2. If user select value in dd1, we need to load in cascade dd2 with the corresponding values

Is this possible with the cascade functionality of the telerik dropdownlist?

 

Best regards.

PELAYO
Top achievements
Rank 1
Iron
 answered on 23 Jul 2021
1 answer
203 views
I am attempting to use a horizontal timeline to replace some legacy code.  As the timeline appears by default, only dates with no associated information is visible.  I would like to add some additional text, contained within the datasource, to the plotted datetime label.  Thank you.
Eyup
Telerik team
 answered on 23 Jul 2021
1 answer
429 views

I started a new project, and realized I no longer have the Kendo scaffolding options to select when adding "New Scaffolded Item".  I even open previous Kendo projects and did not see the options too.  I repaired the Telerik install and even tried reinstalling it.

I confirmed the Kendo UI Scaffolder is present under Extensions.

Framework is .NET 4.7.2 on Visual Studio 2019 Version 16.10.3

 

I'm not sure what else to do. Please help. thanks!

Misho
Telerik team
 answered on 23 Jul 2021
2 answers
199 views
I have modify the Radgrid and add custom drop down in the grid for filtering the data instead of text box. For the implementation I have follow the below link.
https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/how-to/Filtering/filter-with-ms-dropdownlist-instead-of-textbox-

Suppose there are some values in filter drop down as below :

1. [All]
2. Test OR Testing
3. RahulGoel

At initially [All] is selected in the filter drop down and all values are shown in the grid.
Now I select RahulGoel in the filter drop down,  After postback grid is filtered with that value and RahulGoel is selected in the filter dropdown.
Now If I select Test OR Testing in the filter drop down,  After postback grid shows whole data and is not filtered with that value and [All] is selected in the filter dropdown.

So the main problem with filter drop down is that, "If I select those values from filter drop down whose text contains 'OR' as a whole word, our filter is not working and whole grid is showing with [All] selected in filter drop down."

Is there any way to resolve the issue or this is an existing issue.
Rahul
Top achievements
Rank 1
Iron
 answered on 21 Jul 2021
1 answer
164 views

Hi 

I am using Kendo grid in asp.net mvc application, I have added Editable (incell) column in the grid, when I click on the editable column the column width is increasing. How to fix edit box width to column width.

column size before clicking on edit column

column size after clicking on edit column

 

Anton Mironov
Telerik team
 answered on 21 Jul 2021
0 answers
129 views

I have tried to implement a line chart along with Notes,. but the problem arises when 2 notes are very close to each other they overlap and are not readable. I tried adding margin but could not achieve a good result even with rotation it looks very absurd. 

I am trying to figure out a way where I can display the notes in one series alternatively top or down. But I can't find anything. I only got an option to display notes top or down per series. Need help with this?

Or if any other way I can achieve it with a readable format

Anubhav
Top achievements
Rank 1
 asked on 21 Jul 2021
1 answer
259 views
when I use .Groupable() in my grid it sorts the column that I have set to be grouped ascending by default. are there some parameters I can pass through to have it sort descending by default? Column names are variable so I cannot specify a by column name.
Anton Mironov
Telerik team
 answered on 20 Jul 2021
2 answers
162 views

Good morning,

I have an issue with TreeList component (in MVC) when I add the Selectable checkbox column (as first column) : in this configuration the drag & drop doesn't work correctly. 

When I try to drag a row in another position the "after" behavior would never be applied. Only the "before" and "over" behaviors seems to work correctly. All the "after" are intended always as "before".
If I simply remove the Selectable checkbox column from the configuration, all start to works fine.

Could you kindly check or give me some tips on how to solve it?

Thanks and regards,

Annamaria
Top achievements
Rank 1
Iron
 answered on 20 Jul 2021
5 answers
4.5K+ views

Hey,

 

So i have a grid and within the databound model i return an [Active] variable, based on if this variable is true or false i would like to hide a column within the grid based on this [Active] value.

I have read that if columns need to be hidden / shown dynamically that i should use  .Hidden() instead of .Visible() because the .Hidden() will still render the column but just set its display to [None] whereas the .Visible() does not render the column at all.

Based on a value selected from a dropdown a new request is made to the server and the grid is rebound with data,the grid should hide / show the appropriate columns

 

Html.Kendo().Grid<JobsViewModel>()
.Name("Grid")
.Columns(columns =>
{
 columns.Bound(o => o.Status).Title("Status");
 columns.Bound(o => o.Reason).Title("Reason").Hidden(o=>o.Active); <-- How to hide based on [Active]

 

i need the [Reason] column hidden based on the [Active] variable

.Hidden(o=>o.Active) is not valid, this would be the perfect scenario for me.

 

Tigga
Top achievements
Rank 1
Iron
 answered on 15 Jul 2021
1 answer
941 views

I've recently discovered the Form widget, and I like how it simplifies coding/layout of the labels and fields. However, in a form you often want to step through the form, only showing subsequent fields on the basis of answers to previous fields, or just to simplify what is presented in one go.

I have found that hide/show of a Group can be achieved on response to say a switch; eg

function onIsManagerChange(e) {
       var form = $("#requestForm").getKendoForm();
       var groups = form.wrapper.find(".k-form-fieldset");
       $(groups[1]).toggle(!e.checked);
 }

But what if I just want to show the first group, and then require the user to press a Next button. Is it possible to add a button, say to the end of:


  @(Html.Kendo().Form<AccessRequest.Models.Main>()
        .Name("requestForm")
        .HtmlAttributes(new { action = "Create", method = "POST" })
        .Items(items =>
        {
            items.AddGroup()
                .Label("You and your manager's details")
                .Items(i =>
                {
                    i.Add()
                         .Field(f => f.StaffName)
                         .Label(l => l.Text("My name"));
                    i.Add()
                       .Field(f => f.ManagerName)
                       .Label(l => l.Text("Manager name"));
------ ADD BUTTON HERE
                });
            items.AddGroup() ...
OR, is there another widget I should use that would suit this functionality better?
Antony
Top achievements
Rank 1
Iron
 answered on 14 Jul 2021
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
DropDownButton
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
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
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?