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

So I'm seeing some weird behavior.  

When ever the grid is navigatable and you are using the popup grid editing and user hits cancel, the grid scrolls to the bottom of the list.  You can best see the bug when you choose to edit the first record.  Additionally, after clicking cancel, then going to edit the first row again, the scrolling issue doesn't happen.

I've created a dojo to help display the issue: http://dojo.telerik.com/@jhinnen@momentum3.biz/aBUkA

Thanks,

Jeff

Konstantin Dikov
Telerik team
 answered on 19 Dec 2016
6 answers
574 views
I am new to Kendo UI and wanted to use Kendo grid inline editing .

 

Couple of columns in my grid  needs to have Combo box  for new record or update. I did not find any clear example on this.

Can you  please direct me to proper link or give an example on how to  use  combo box for inline editing.

 

Thanks for your help

Eyup
Telerik team
 answered on 19 Dec 2016
3 answers
162 views

It appears the Spreadsheet component doesn't have a way to automagically size the columns, and I was hoping there might be a workaround for this somewhere?  I am loading CSV files into the spreadsheet, all of which could have completely different formats, so cannot just hard code column widths...

 

Or at the very least, in Excel I can select all rows and columns, double click on a dividing line between headers, and it will automagically resize columns.  Perhaps there's a way to implement this behaviour?

Veselin Tsvetanov
Telerik team
 answered on 19 Dec 2016
1 answer
114 views

I have a grid that I am using as a matrix (see attached), and I have even been able to create rows and columns

 

But I would really like to be able to add a label for both the X and Y directions, preferably on the top and left side. Any ideas how I could do this without it being too difficult and weird?

 

 

Danail Vasilev
Telerik team
 answered on 19 Dec 2016
4 answers
106 views

 I have a grid with a specific height set with the following code:

.Scrollable(s => s.Height(400))

 

And one of the columns locked:

columns.Bound(p => p.Line).Width(180).Locked(true);

 

The locked column has no height set and is one long column. (see attachment)

 

 

Konstantin Dikov
Telerik team
 answered on 16 Dec 2016
5 answers
358 views

I have a timepicker in my MVC form.

@Html.Kendo().TimePickerFor(model => model.ShipmentCallTime).Format("HH:mm")

 

The user enters an invalid time like "2343" then clicks save. On postback, ModelState.IsValid is false as the control recognizes that as an invalid time and the validation message is displayed properly.

 

The user then corrects the time entry to a valid time "23:43" and clicks save.  On postback, ModelState.IsValid is true but the valid time the user entered is not in the model.  The property is NULL. 

Why??  It seems like the TimePicker is nuking the valid time for some reason.  If I go back after the save and enter a valid time it works correctly.  I can repeat these steps and have this happen every time.

Vasil
Telerik team
 answered on 16 Dec 2016
8 answers
1.5K+ views
Hello again,
How to add a dropdownlist in the popup,when editing a grid?

I reproduced the Popup editing on server side, with products as the data and it works fine ,and i would like now to add also the Category,so to have now a dropdownlist with all the categories,in the popup among the others.
i noticed that for each field kendo knows what type of control to use,so assuming that,i put at columns a ForeignKey just like in inline editing example:
@(Html.Kendo().Grid(Model)    
    .Name("Grid")
    .Columns(columns => {  
 columns.Bound(p=>p.ProductName);
 columns.ForeignKey(p => p.CategoryID, (System.Collections.IEnumerable)ViewData["categories"], "CategoryID", "CategoryName");
 ....
});
but as a result,for categoryID i have just a textbox,so,do i need again an EditorTemplate or what?and how do i use it in this context?

Regards
Pavlina
Telerik team
 answered on 15 Dec 2016
1 answer
485 views

I'm using a Kendo grid and want to be able to edit cell contents and apply Text Coloring and Strike-Through to the text within any given grid cell. 

"some initial text" to be changed to "some altered initial text" with the word "altered" being red and the word "initial" being red and strike-though.

Any ideas how to achieve functionality like this?

 

See attached image for example.

 

Thanks,

John

Eyup
Telerik team
 answered on 15 Dec 2016
1 answer
405 views

Hi there,

I need to pass an upload point into the path to be able to successfully post my files:

@(Html.Kendo().Upload()
                  .Name("file")
                  .Multiple(false)
                  .Events(e => e
                      .Error("onError")
                      .Success("onSuccess")
                      .Select("onSelect")
                  )
                  .Async(a => a
                      .Save("UploadFile", "Storage", new { uploadpoint = "4FE69113-B190-49B4-ADDC-EB2371C6119A" })
                      .Batch(false)
                      .AutoUpload(true)
                  )
            )

I want to make the GUID dynamic based off the selected value of a dropdown. Is there any way to make that route param dynamic either using a function:

new { uploadpoint = GetUploadPoint() }

Or by using javascript to read the selected value of my dropdown?

Dimiter Madjarov
Telerik team
 answered on 15 Dec 2016
2 answers
97 views

Hi,

I need to separate the data I recieve from the database when I'm showing it in the grid but I don't know how to do it. I was wondering if it's possible to do something like the attached file. 

Thanks a lot.

Konstantin Dikov
Telerik team
 answered on 15 Dec 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?