Telerik Forums
UI for ASP.NET MVC Forum
4 answers
135 views
I have not made a Ticket yet since I will begin by looking into general solutions.

The problem is simple. The grid just wont accept any updates from inline editing of the Grid. There seems to be some kind of Error that doesn't show up on normal Clients.

I have tried the Clear Cache solution but no go.

Any ideas on this? Btw, the same problem exists on your Demo Grid.
Eric Schoenholzer
Top achievements
Rank 2
 answered on 16 Dec 2012
1 answer
530 views
I am receiving a timeout error via an AJAX call when using Kendo with MVC.  The result set is a large set of records approx 250K with 14 fields though I would not expect this to timeout.  Any ideas why this might be happening?
public ActionResult Grid_Read([DataSourceRequest]DataSourceRequest request)
{
    var dbContext= new DataBaseContext();
 
    IQueryable<Report> ReportData = from ParentRecord in ParentTable
                  join ChildRecord in ChildTable on ParentRecord.Id equals ChildRecord.ParentId
                  select new ReportModel
                  {
                      FieldOne = ParentRecord.FieldOne,
                      FieldTwo = ParentRecord.FieldTwo,
                      FieldThree = ChildRecord.FieldThree
                  };
 
    DataSourceResult result = ReportData .ToDataSourceResult(request);
 
    return Json(result);
}
Daniel
Telerik team
 answered on 15 Dec 2012
1 answer
886 views
Hello.
I just updated to the latest version of Kendo UI for ASP.NET MVC (Q3 2012).
I noticed that some text boxes with both "required" and "readonly" attributes are not being validated anymore.
Here's what I have:

@{
   var materialHtmlAttributes = new Dictionary<string, object>();
   materialHtmlAttributes.Add("class", "k-textbox");
   materialHtmlAttributes.Add("readonly", "readonly");
   materialHtmlAttributes.Add("data-bind", "value: item.Material.Description");
   materialHtmlAttributes.Add("validationMessage", "The Material field is required.");
   materialHtmlAttributes.Add("required", "required");
}
@Html.TextBox("materialInputText", null, materialHtmlAttributes)

With the previous version of Kendo UI, this worked fine and the field was validated correctly, even being read-only. Now, this does not work anymore, the field is no longer validated. If I remove the read-only attribute, then it works.
It is important that the field remains read-only, because the value is set according to a selection made by the user in a list.

Is there a reason for this to not work anymore? Do I have to make some adjustments?

Thank you.
Daniel
Telerik team
 answered on 15 Dec 2012
2 answers
136 views
My scenario is upon the user selects a node, the ID of the node will be pass on the grid. I can now get the selected no but I have no clue in passing the id to the grid's column.
Princess
Top achievements
Rank 1
 answered on 15 Dec 2012
1 answer
739 views
Idea is to translate Ui so I need to change upload button text.
Any idea?

My code:

$(document).ready(function () {
 
$("#_UploadedFiles").closest(".k-upload-button").find("span").text("bla bla");
});

Its work when I run code in Firebug.

Tomaz
Justin
Top achievements
Rank 1
 answered on 14 Dec 2012
1 answer
171 views
I want to display a custom dropdownlist for an editable column. I see raw query examples that set an editor property that calls some function but I couldn't figure out how to make this work with mvc. What other options do I have available that are inline within the same page as the grid?

Another example is for a lookup control. I want to display a readonly textbox with a ... button that will launch another modal lookup dialog.

I need a solution that is inline with the page and doesn't involve me customizing my business objects with uihints or adding partial pages just for a column editor.
Daniel
Telerik team
 answered on 14 Dec 2012
2 answers
155 views
1) I want to just display icons for the inline edit,delete, and cancel buttons
2) How can I display the toolbar on the bottom?
3) How can I customize the add button?
Pat
Top achievements
Rank 1
 answered on 14 Dec 2012
1 answer
353 views
Is it possible to set items as selected in a list view when the page loads?
Nikolay Rusev
Telerik team
 answered on 14 Dec 2012
3 answers
208 views
Hi All,

When page numbers are more in List view, "items per page" is displaying in next line. It is not inclining with the page numbers in the same row. How to resolve this issue?

Regards,
Partha.
Petur Subev
Telerik team
 answered on 14 Dec 2012
4 answers
850 views

Hello,

we are changing our application from Telerik Controls to Kendo UI. But changing the TreeView is a little bit difficult. I hope you can help me:

With Telerik we used the OnDataBinding- Event, called a controller-class and bound a json-result to our tree: tree.bindTo(jsonObject)
Well this isn't possible with KendoUI.

So I tried the DataSource-thing on our tree:

@(Html.Kendo().TreeView()
.Name("TreeView")
.DataTextField("Text")
.DataImageUrlField("ImageUrl")
.DataUrlField("Url")
.DataSource(dataSource => dataSource
.Read(read => read
.Action("GetTreeData", "Home")
)
)
.ExpandAll(true)

Without all these DataTextField, DataImage.. stuff nothing worked so after hours I found out that I need them (there has to be a better documentation... please). But: How can I add ChildElements? With hasChildren (as a Property on the Json-Object) Ithe TreeView knows that there are children but I also wanna show them after binding (.ExpandAll(true).... <-- wanna use it!)

I really hope you can help me. I want to bind the complete tree-structure at once. No Load on demand. Is there any solution for doing that?

And if I have my complete tree... how am I able to rebind it? We need to refresh the tree very often, so I hope you can show me a possibility to do that.

Thank you very much!
Mathias

Josh
Top achievements
Rank 1
 answered on 13 Dec 2012
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
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
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?