Telerik Forums
UI for ASP.NET MVC Forum
6 answers
146 views

There is censored network in Mainland China. Everything from the servers which are not in Mainland China is slow.

So if I want to improve the static files' loading performance, can I put the Telerik's static files(include the themes) on our own CDN, which files should we do?

K'Library
Top achievements
Rank 1
 answered on 11 May 2017
1 answer
538 views

Hi,

 

Our DatePicker's Validation Message is overlapping with the DatePicker's input. I attached an image of the problem.

 

It seems that the <span> element containing the validation message is in the wrong location for the DatePicker. On the same page we have a ComboBox, which has the validation <span> element one level higher than the DatePicker. I tried this in Chrome and moved this element:

<span class="k-widget k-tooltip k-tooltip-validation k-invalid-msg field-validation-error" data-for="SubscribeTill" data-valmsg-for="SubscribeTill" id="SubscribeTill_validationMessage" role="alert">

 

up one level, from inside this element:

<span class="k-picker-wrap k-state-default">

 

to inside this element:

<span class="k-widget k-datepicker k-header">

 

And after this, it seems to work exactly like the ComboBox.

 

It seems this is a bug, but we kind of need this working right now. Is there a way we can move this span manually?

 

Sincerely,

 

Tim

Stefan
Telerik team
 answered on 11 May 2017
1 answer
472 views

I am trying to use the Kendo DatePicker from code generated and rendered into the view, I can make it work when part of the cshtml

e.g.

In cshtml:

@(Html.Kendo().DatePicker().Enable(!Model.ReadOnly).Name("DatePick").Value("12/25/2017").HtmlAttributes(new { style="width: 10% ", title="datepicker" }))

works fine.

when rendering from

                            result.Append("@(Html.Kendo().DatePicker().Enable(" + !ReadOnly + ").Name(\"a" + PrimKey + "\").Value(\"" + theDate + "\").HtmlAttributes(new { style=\"width: 10%\", title=\"datepicker\" }))\r\n");

I just get the text and no control.

I am using the code generation for all my controls on the page as it is dynamic and not a preset layout

 

Tsvetina
Telerik team
 answered on 11 May 2017
3 answers
710 views

I have here a MENU which would show partial views as the content.

<div class="panel-body">
    <div id="row_menu" class="row" style="margin-top: -15px;">
        @(
            Html.Kendo().Menu()
                .Name("Menu_PatientDetails")
                .Items(items =>
                {
                    items.Add().Text("Patient Information").Selected(true).Enabled(false);
                    items.Add().Text("Insurance").Enabled(false);
                    items.Add().Text("Visits").Enabled(false);
                    items.Add().Text("Notes").Enabled(false);
                    items.Add().Text("Documents").Enabled(false);
                })
                .Events(e=>e.Select("openPatientDetails"))
        )
    </div>
 
    <div id="PatientInformationPanel">
        @Html.Action("ShowPatientInformation", "Patient")
    </div>
 
    <div id="PatientInsurancePanel" class="hidden">
        @Html.Action("ShowPatientInsurance", "Patient")
    </div>
 
    <div id="PatientYearPanel" class="hidden">
        @Html.Action("ShowPatientYear", "Patient")
    </div>
 
    <div id="CasesPanel" class="hidden">
        @Html.Action("ShowPatientCases", "Patient")
    </div>
    <div id="PatientDocumentPanel" class="hidden">
        @Html.Action("ShowPatientDocuments", "Patient")
    </div>
</div>

 

function openPatientDetails(e) {

Ianko
Telerik team
 answered on 10 May 2017
1 answer
163 views

I am trying to add a DDL to a toolbar template,  I have tried all sorts , including simple text in the toolbar.

 

But when I add the template , I always get a syntaxthe character befor the ampersand  (@<text>  as if the toolbar.template does not like the string as a paramater.  What could be wrong here .

 

My current code is below

 

I have tried simple divs with text and other things ,  but the issue is always the same.

 

  .ToolBar(toolbar =>
                                                        {
                                                          
                                                        toolbar.Template( @<text>
                                                                    <div class="toolbar">
                                                                        @(Html.Kendo().DropDownList()
                                                                                    .Name("CityId")
                                                                                    .DataTextField("Name")
                                                                                    .DataValueField("Value")
                                                                                    .OptionLabel("Select City...")
                                                                                .DataSource(source => source
                                                                                  .ServerFiltering(true)
                                                                                  .Custom()
                                                                                  .Transport(transport => transport
                                                                                        .Read(read =>
                                                                                        {
                                                                                            read.Url("/Api/Common/_GetCity/2")
                                                                                            .DataType("json");

                                                                                        })
                                                                                 )
                                                                                    )
                                                                        )
                                                                    </div>
                                                            </text>);




                                                        })

Viktor Tachev
Telerik team
 answered on 10 May 2017
1 answer
109 views
Using the new SASS themebuilder, I'm downloading the package and getting a valid variables.scss, however, the all.css file is empty and I planned on using that for my project.
Nencho
Telerik team
 answered on 10 May 2017
3 answers
180 views

I see that as promised for the Q3 3016 release, the kendoSpreadsheet now has support for defined names in the UI, and that these names are preserved in the client-side toJSON() method of the kendoSpreadsheet.

Is there any chance we could get support for defined names in the Telerik.Web.Spreadsheet.Workbook object? We've tried 

   Telerik.Web.Spreadsheet.Workbook.Load(Stream input, string extension)

and

   Telerik.Web.Spreadsheet.Workbook.FromDocument(Telerik.Windows.Documents.Spreadsheet.Model.Workbook dplWorkbook)

but any defined names in the source are stripped out. I guess this is because the Telerik.Web.Spreadsheet.Workbook doesn't even have a public Names collection. This issue also prevents a client-generated Workbook from being passed to an MVC method: the MVC binder simply doesn't map properties that aren't public.

The net result is that developers can't take an XLSX file from the file system and render it accurately in the kendoSpreadsheet UI, nor can they round-trip it.

Bozhidar
Telerik team
 answered on 10 May 2017
4 answers
207 views

http://dojo.telerik.com/IGujU/3

How to make it so the hint can only be moved within the boundaries of the parent?
And how to autoscroll if I have a very long list, like i'm dragging the last item and when the hint is on top most of the visible viewport it will scroll up?

Ianko
Telerik team
 answered on 10 May 2017
3 answers
815 views

Hi,

I'm building SPA using kendo ui and angularjs for client-side and asp.net web api for server-side. Customer wants server paging, filtering and sorting in grids. I know, how to configure kendo grid, so I only need to implement it on my server.

I found solution to use .ToDataSourceResult() with the DataSourceRequest parameter, but the problem is that I'm not using entity framework for all db stuff - the requirement is to use dapper https://github.com/StackExchange/dapper-dot-net, so I should generate sql queries on the fly.

Are there some code samples or even already written components for this scenario?

Boyan Dimitrov
Telerik team
 answered on 09 May 2017
1 answer
206 views
Is this option available yet for the spreadsheet control as it is with the Grid? I'm having issues getting data to display when I have more than 500 rows of data. Though it could have something to do with the generic data class I'm using which is over 250 columns. I'm also using dynamic columns.
Dimitar
Telerik team
 answered on 09 May 2017
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
SplitView
Barcode
ButtonGroup (Mobile)
Drawer (Mobile)
ImageEditor
RadioGroup
Sparkline
Stepper
TabStrip (Mobile)
GridLayout
Template
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?