Telerik Forums
UI for ASP.NET MVC Forum
3 answers
221 views

Hello,

 

I have a Kendo treeview which loads on demand and i am using hierarchial data. So it only loads children when clicked on node . everything works fine till my records are more than 3000. In Firefox the tree loads in 5 seconds. But in IE the browser hangs and never recovers.

This is how my treeview looks

@(Html.Kendo().TreeView()
.Name("objtreeView")
.HtmlAttributes(new { style = "height:700px;overflow-x:hidden;" })
.DataImageUrlField("imageUrl")
.DataTextField("Text")
.LoadOnDemand(true)
.Template(
"# if (item.AdditionalImageUrl !='') { #" +
"<img src='#= item.AdditionalImageUrl#'/> #:item.Text#" +
"# } else {#" +
" #:item.Text#" +
"# }#"
)
.Events(events => events
.Select("onSelect")
)
.DataSource(dataSource => dataSource       
        .Read(readtree => readtree
.Action("ReadObjects", "Objekt").Data("addSearch")
)
)
)

 

And ReadObjects Looks like this

public JsonResult ReadObjects(string Id, string)
{

DataSet ds = cObjData.ReadObjects();
if ((ds != null) && ds.Tables.Count > 0)
{
//Alle Zeilen durchgehen
foreach (DataRow r in ds.Tables[0].Rows)
{

result.Add(new { Text = strText, id = r["ObjectID"].ToString(), Color = hexColor, hasChildren = bhaschildren, imageUrl = Url.Content(strImage), AdditionalImageUrl = "" });

}

return Json(result.AsQueryable(), JsonRequestBehavior.AllowGet);

}

 

In production sometimes we have 10,000 records to load. Any help is appreciated

 

Thanks

 

Anamika

Neli
Telerik team
 answered on 21 Sep 2017
2 answers
411 views

I know I've done this before, but for some reason, it's just not working for me today.  What am I missing:

@(Html.Kendo().Grid((IEnumerable<Provider>)ViewData["providers"])
    .Name("providerGrid")
    .Columns(cols =>
    {
 
        cols.Bound(c => c.ProviderName);
        cols.Bound(c => c.Active).ClientTemplate("#= Active ? 'Yes' : 'No' #");
    })
)

 

See the screen shot I attached, it just shows a disabled checkbox for the field.

Stefan
Telerik team
 answered on 21 Sep 2017
1 answer
107 views
HI Team,

We have received a client requirement to lock the predefined data in Editor and the following link suits our requirement

https://demos.telerik.com/aspnet-mvc/editor/immutable-elements

But if we select the predefined data and presses delete, its getting deleted. kindly advice any work around to block deletion of the predefined data .

Thanks,

Ivan Danchev
Telerik team
 answered on 21 Sep 2017
2 answers
138 views

Hello,

I am trying to utilize the kendo spreadsheet control in my mvc project. The data loads fine when toolbar is set to false, however, when we set toolbar to true, the attached is what renders. Any ideas as I don't see any errors. Thanks.

Larry
Top achievements
Rank 1
 answered on 20 Sep 2017
1 answer
640 views

Hi , I am working on the kendo editor but I need some red color on the text . Can it be possbile? I have followed the below link but it has no information about it. 

Anyone any ideas??

 

http://demos.telerik.com/aspnet-mvc/editor

 

Thanks

Neli
Telerik team
 answered on 20 Sep 2017
1 answer
248 views
Hi ,

I need a small help as I am evaluating the telerik product for MVC and am kind of stuck at a place
I want to build a responsive vertical form with kendo UI grid. Can you please provide me a code sample to do that.
A help is appreciated 
Georgi
Telerik team
 answered on 20 Sep 2017
1 answer
74 views

I am making a page with two html forms, The first has two kendo comboboxes in which the user selects some options and then presses submit on the first section. I then look in the database to see if the user inputted a duplicate value. If a entry is found it returns it. I need the information from the returned entry to populate in the corresponding fields. Is this possible?

Nencho
Telerik team
 answered on 20 Sep 2017
5 answers
2.4K+ views
Anyone get the kendo window to work with partial views?  I really enjoy MVC partial views for code resuse and readability, but Kendo windows don't give control back when they are modal.  Tried it two different ways: where the content is the partial view and where the partial view contains the kendo window.

It also seems to screw up the other window on the page.  If I just have the one normal window, it works.  If I have both, they are both broken.  If I have just the partial view window, it doesn't work.
Ivan Danchev
Telerik team
 answered on 20 Sep 2017
2 answers
258 views
I am using custom AJAX binding on a MVC grid.  I have paging enabled to show the refresh button at the bottom.  Would it be possible to retrieve the refresh time and display somewhere?  Not sure if possible inside of the grid control or somewhere else on the page.  Basically I'd like to display to the user when the grid data was last updated (both on initial load and manually initiating a refresh).  
Erik
Top achievements
Rank 1
 answered on 19 Sep 2017
1 answer
397 views

I have some data in a grid that is just too wide; the number of columns pushes my custom edit and delete buttons off the side.  So want I'd like to do is cut back on the number of columns in the grid, but when selecting a row, popup a tooltip with the rest of the data, if and only if it meets a certain criteria.

If they select a row where the visible column of Error is false, do nothing.  If they select a row where the Error column is true, show a tooltip with the error.

How can I implement this?

BTW, I only use whole row select, never individual column selections, and I never use inline editing, always the popup editor.  This makes hovering or selecting a whole row much easier.

Preslav
Telerik team
 answered on 19 Sep 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?