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

Hello,
I needed splitview for my existing asp.net mvc application. Since this feature is not in bootstrap, I want to integrate the splitview structure of kendo into my home / index page. But I could not find an example exactly like the link(https://demos.telerik.com/kendo-ui/m/index?&_ga=2.175873698.1093150333.1601874386-452789549.1601620086#splitview/index). Is there a version of the same example in the link made in mvc?

 

If I can integrate a structure like in the link into my home index page, I am thinking of buying the license of Kendon.

Tsvetomir
Telerik team
 answered on 07 Oct 2020
3 answers
66 views

When I call the  following

    /StatusGroups/ my controller code is as follows

public ActionResult GetStatusGroups([DataSourceRequest]DataSourceRequest request)
        {
            var SLAQuery = new OracleLogic();
            return Json(SLAQuery.GetStatusGroupsSLA().ToDataSourceResult(request), JsonRequestBehavior.AllowGet);            
        }

and I get my populated grid using the following view code.

@(Html.Kendo().Grid<NTC_SLA_System.Models.StatusGroupsSLA>()
                                                                                .Name("grid")
                                                                                .Sortable()
                                                                                .Scrollable()
                                                                                .Filterable()
                                                                                .Columns(column =>
                                                                                {
                                                                                    column.Bound(c => c.TYPE_ID).Title("STGID");
                                                                                    column.Bound(c => c.TYPE_NAME).Title("Group Name");
                                                                                    column.Bound(c => c.INGROUPID).Format("{0:0}").Title("in Group");
                                                                                    column.Bound(c => c.ENTERED_DATE).Format("{0:MM-dd-yyyy}").Title("Created On");
                                                                                    column.Bound(c => c.ENTERED_DATE).Format("{0:MM-dd-yyyy}").Title("Modified Date");
                                                                                    column.Bound(c => c.MODIFY_BY).Title("Modified By");
                                                                                    column.Bound(c => c.TYPE_ID).ClientTemplate("<a class='ntc-blue' href=\"" + Url.Action("ViewType", new {                                                                                      ID = "#=TYPE_ID#" }) + "\">View</a>").Title("Action");
                                                                                })
          .DataSource(dataSource => dataSource

           .Ajax()
           .Model(model => model.Id(p => p.Id))
            .Read(read => read.Action("GetStatusGroups", "StatusGroups"))
            .ServerOperation(false)
            .PageSize(20))

If I click on View in that Grid I go to /StatusGroups/ViewType/1

My controller code is as follows

public ActionResult ViewType([DataSourceRequest]DataSourceRequest request, string id = null)
        {
            var SLAQuery = new OracleLogic();
            return Json(SLAQuery.GetStatusGroupsViewSLA(id).ToDataSourceResult(request), JsonRequestBehavior.AllowGet);
        }  

and my view code is

 @(Html.Kendo().Grid<NTC_SLA_System.Models.StatusGroupsViewSLA>()

                                .Name("grid")
                                .Sortable(sortable => sortable
                                .AllowUnsort(true)
                                .SortMode(GridSortMode.MultipleColumn)
                                .ShowIndexes(true))
                                .Scrollable()                                
                                .Columns(column =>
                                {
                                    column.Bound(c => c.STATUS_NAME).Template(c => c.STATUS_ID + "&nbsp-&nbsp" + c.STATUS_NAME).Title("To Status Name");
                                    column.Bound(c => c.STATUS_ID).Template(@<text>@Html.ActionLink("Remove", "ViewType", new { id = @item.STATUS_ID })                                                    </text>).Title("Action").Sortable(false).HtmlAttributes(new { @class = "center-text" });
                                })

.DataSource(datasource => datasource
                                        .Ajax()
                                        .Model(model =>
                                        {                                                                                        
                                            model.Field(f => f.STATUS_NAME);                                            
                                        })
                                        .Read(read => read.Action("ViewType", "StatusGroups"))                                        
                                )
The Grid result is empty no data.

Nikolay
Telerik team
 answered on 19 Jun 2020
2 answers
90 views

 

Hello,

On the demo project:

When I click on Beverages then ...

If I click on Chai menu, I would like to create detailsTemplate to host Chai data.

If I click on Chang menu, I would like to create detailsTemplate to host Chang data.

Please note that the data structure are not the same for all of the menu.

And so on...

Thank you.

tam
Top achievements
Rank 1
 answered on 27 May 2015
3 answers
73 views

 

Hello,

On the demo project:

If I click on Beverages, I would like to change the left side title from Products to Beverages.  

If I click on Condiments, I would like to change the left side title from Products to Condiments. 

And so on...

Thank you.

tam
Top achievements
Rank 1
 answered on 27 May 2015
3 answers
136 views

 

Hello,

On the demo project:

When I click on Beverages then clicking on Chai menu, I would like the selected menu item to highlight.  Also, I would like any of the other menu items to un-highlight whenever a menu item is selected.  So only one of the menu items be selected. 

Thank you...

tam
Top achievements
Rank 1
 answered on 27 May 2015
1 answer
81 views

 

I am not looking for a mobile SplitView. I am looking for a mvc SplitView. 

Please give me an idea how to do it?  Thank you.

 

Petyo
Telerik team
 answered on 18 May 2015
Narrow your results
Selected tags
Tags
Grid
General Discussions
Scheduler
DropDownList
Chart
Editor
TreeView
DatePicker
Upload
ComboBox
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
MultiColumnComboBox
Dialog
DropDownTree
Checkbox
Slider
Switch
Notification
ListView (Mobile)
Pager
Accessibility
ColorPicker
DateRangePicker
Wizard
Security
Styling
Chat
MediaPlayer
TileLayout
DateInput
Drawer
Barcode
ButtonGroup (Mobile)
Drawer (Mobile)
ImageEditor
RadioGroup
Sparkline
Stepper
TabStrip (Mobile)
GridLayout
Template
Badge
LinearGauge
ModalView
ResponsivePanel
TextArea
Breadcrumb
ExpansionPanel
Rating
ScrollView
ButtonGroup
CheckBoxGroup
NavBar
ProgressBar
QRCode
RadioButton
Scroller
Timeline
TreeMap
TaskBoard
OrgChart
Captcha
ActionSheet
Signature
AppBar
BottomNavigation
Card
FloatingActionButton
Licensing
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
DateTimePicker
TimePicker
StockChart
RadialGauge
ContextMenu
ArcGauge
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?