Questions tagged [telerik-mvc]

Questions about Telerik ASP.NET MVC Extensions

Questions about Telerik ASP.NET MVC Extensions

993 questions
18
votes
3 answers

How to play the html5 video in IE8 Browsers

I have develop a MVC3 Application in that i have use html5 video controls when i run the application it is playin Chrome but when i try to play in IE8 Browser it doesn't play the video just it show the white page only...How to play the video in all…
jesse
  • 185
  • 1
  • 1
  • 7
15
votes
5 answers

Returning JSON from a JsonResult method in MVC controller

I am trying to populate a ComboBox (Telerik RAD COmboBox) in a test ASP.NET MVC3 app. I have defined the ComboBox on my ASPX page and in the controller I have defined the action call that returns a JsonResult. The problem I am having is that the Web…
MAB
  • 153
  • 1
  • 1
  • 5
15
votes
5 answers

Define a Template column for Telerik MVC Grid in Razor syntax

I have the following legacy code that I would like to mimic, with all action links inside one column. However, I can't seem to get the Razor syntax right. How should I express this in Razor? The ASPX column template is like this: .Columns(column…
ProfK
  • 49,207
  • 121
  • 399
  • 775
13
votes
6 answers

CSS layout for fixed header and 100% content height?

I'm trying to get a fixed height header and a content area the fills the screen. The content div contains a telerik mvc grid. I've tried a few suggested on stackoverflow but the control that is the content area always seems to size incorrectly…
NullReference
  • 4,404
  • 12
  • 53
  • 90
13
votes
3 answers

Telerik Kendo MVC TextBox Multiline Mode

Does anyone know what properties to set to make a Kendo MVC Textbox Multiline? @(Html.Kendo().TextBox() .Name("txtComments") .Value(@Model.Comments) .HtmlAttributes(new { style = "width:100%" }) ) Thanks.
Cef
  • 661
  • 1
  • 6
  • 26
10
votes
3 answers

ModelState.AddModelError not showing any message

I am using telerik mvc grid. In my table I have unique key defined for a field. And in controller I am catching the error using try ... catch inside DbUpdateException. in catch block I want to handle the error and show error messsage in view. So…
hetal gala
  • 249
  • 2
  • 5
  • 18
10
votes
1 answer

How can I set and get the value of a dropdownlist in a grid in Kendo UI MVC?

I'm working with KendoUI MVC in MVC3. I managed to get a dropdown in a grid column. But I have no clue on how to set the selected value, and when I save it doesn't save my selected value. The grid @using Perseus.Areas.Communication.Models @using…
bjornruysen
  • 850
  • 1
  • 6
  • 15
9
votes
2 answers

How to create custom Delete/Destroy button/command in Kendo UI grid?

I am using Kendo UI grid with GridEditMode.InCell and I need to add a hyperlink for delete/destroy command in the grid column instead of the default "Delete" button. My current code looks like: c.Command(command => command.Destroy()).Width(90);
Vlad Bezden
  • 83,883
  • 25
  • 248
  • 179
8
votes
2 answers

How to clear filter on Telerik ASP.NET MVC Grid

I have a grid that allows the user to filter. If the user changes the search word that is used to populate the grid, the filter from the previous search remains in place. <%= Html.TextBox("UserName",…
RSolberg
  • 26,821
  • 23
  • 116
  • 160
8
votes
3 answers

Difference between Kendo UI Web and Kendo UI ASP.NET for MVC

When creating an MVC project via Visual Studio, Views are created with ".cshtml" files. The KendoUI Server Wrappers have a model in the View whereas the KendoUI Web not only doesn't have any model, but there is no ".cshtml" files; only HTML. The…
sagesky36
  • 4,542
  • 19
  • 82
  • 130
8
votes
2 answers

How to set up Kendo UI mvc grid with checkbox control

I am using Kendo UI MVC grid. One of the properties of the model is bool, so I need to present it in grid as checkbox. By default Kendo UI present it as "true" and "false" values in the column. So you need to first time to click to get checkbox,…
Vlad Bezden
  • 83,883
  • 25
  • 248
  • 179
8
votes
1 answer

A public action method 'cache' was not found on controller

I am getting A public action method 'cache' was not found on controller occasionally while executing the actionresult. Although here is no cache defined or used in my code.Don't know where from it is getting this. it is happening on telerik mvc…
7
votes
2 answers

jquery Find TD of TR with Class and make changes (for a Telerik MVC grid)

this is my mark up I want to find the tr with class t-detail-row and remove the child td with class t-hierarchy-cell…
HaBo
  • 13,999
  • 36
  • 114
  • 206
7
votes
2 answers

Telerik mvc grid, columns.bound to dictionary value. or "dynamic property in model"

i have a model with dynamic "propertys" (in DB level, something similar to Entity-Attribute-Value system). The properties are in a field of Dictionary, and would like to show them into columns. Model: the model have a static array…
dovid
  • 6,354
  • 3
  • 33
  • 73
7
votes
2 answers

How to remove all Kendo DropDownList elements from document.body (DOM)

We are using about 3 DropDownList components inside a cardView kendo.ui.Window item. When the window is closed, we're calling the 'destroy' method for each of the contained DropDownList items. The problem is that the following code is not removing…
AmirTNinja
  • 357
  • 3
  • 5
  • 15
1
2 3
66 67