Telerik Forums
UI for ASP.NET MVC Forum
2 answers
136 views

Hi , the arrow for the validation message is in the center, so if the column width is shorter than the message the arrow points to the wrong column, see image attached.  Can the arrow be moved to the left, or the message centred on the column, not left aligned?

 

THanks,

Scott Waye
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 09 Feb 2016
3 answers
598 views

Hi,

I have a Kendo Tabstrip in each tab there is a Kendo Grid and a button. A Kendo Window is suppose to open when the button is clicked. But weird thing is that in some tabs Kendo Window is opened when a button is clicked, while in others tabs the window is not opened when the button is clicked. Another problem is that initially Grid in the tab (set by SelectedIndex) can not show up. It only shows up after clicking another tab.

I attach a sample project named MVC_Controls_Kendo as well as MVC_Controls_Kendo Database to show the problems. Because of the size limit, I remove the package in the project. The package include, Kendo MVC (2015.1.429.440.Trial), MVC 4 and many others. The simplest way to recreate the solution is to create
new Telerik MVC project (name: MVC_Controls_Kendo) and select .Net 4 and ASPX (not razor), and add the source files attached.

Please add the OTPTEST.mdf in attached MVC_Controls_Kendo Database to the Data folder for SQL Server Express on the your pc and attach it in SQL management studio. Then modify the connection string in Webconfig in MVC_Controls_Kendo project and App.Config file in Data project. Currently it is:
    <add name="OTPTESTEntities" connectionString="metadata=res://*/Model3.csdl|res://*/Model3.ssdl|res://*/Model3.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=ZHANG-PC\SQLEXPRESS;initial catalog=OTPTEST;integrated security=True;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />.

Replace ZHANG-PC with your pc name. After launching the project, just click on "Action Items", which will go to ActionItems.aspx. Click any link in "Type Desc" column and it will redirect to EvaluationForm.aspx which will display a Kendo TabStrip. In each of its tab, it supposes to display a Kendo Grid defined in EvaluationFormTab.ascx. Another Kendo Grid and Kendo Window hosting it are also defined in this file.

The problem is that after initial click on "Type Desc" column, it will redirect to EvaluationForm.aspx and display a Kendo TabStrip, but the Kendo Grid that is supposed to show up doesn't. It only shows up after clicking on another tab.

Another weird problem is that while Kendo Window is opened in some tabs like "Overall", "Coaching" after "Best Practice" button is clicked, the window never opens in tab like "Governance" after "Best Practice" button is clicked. In some tabs like "IST", "Benchmarks", the window opens for 1st time and not opens for the rest of time after "Best Practice" button is clicked.

I have no idea on these problems and need your help. Thanks. 

Dimo
Telerik team
 answered on 09 Feb 2016
1 answer
558 views

Hello,

 

is it possible to create multiple range slider using Kendo UI ?

see attachement.

 

Thanks.

 

 

Helen
Telerik team
 answered on 09 Feb 2016
1 answer
170 views
When loaded with little data it was displaying marks in the value axis as 0.2,.04 and so on.  So I found I could set the .MajorUnit(1) and that made it display whole numbers.  However if I load allot of data it gets crowded.  Attached is what it looks like.  I know i can increase the .MajorUnit but how do i make it only use whole numbers in the value axis and auto scale depending on the data passed in?
Ianko
Telerik team
 answered on 09 Feb 2016
3 answers
112 views

Hi ,

I just installed Scheduler control, I am trying to start use of it but I didn't understand from where to start. I have downloaded demo apps but not able to understand how to bind my room-list to header instead of week view.

 If you have any documentation which will explain step by step about Scheduler control.

 

Thanks.

Vladimir Iliev
Telerik team
 answered on 09 Feb 2016
1 answer
154 views

If you look at the demos the filter icon has a large right margin/padding.  How do you remove it?  I want the filter to take all the available column header space.

 

Thanks

Venelin
Telerik team
 answered on 09 Feb 2016
5 answers
176 views

I would like to show a Gantt chart for 1, 2 or 3 years
Changeable via a dropdown

right now when I display the Gantt chart it shows several year

because there is tasks running over many years

how do I change the range of the view to a period

Plamen
Telerik team
 answered on 09 Feb 2016
4 answers
483 views

I have two Date Pickers inside a grid "Start Date" and "End Date".I am trying to validate these dates on edit and want to show only one validation message any time. Everything works fine except one scenario.

Steps that creates a problem:

1. Select a date for Start Date (ex. 1/1/2015) and select a date for End Date (ex. 2/1/2015). Everything is fine. I can save the record successfully.

2. Now change the  Start date to 3/1/2015 and validation popsup as expected. Change the end date to 4/1/2015 so that its greater then Start Date. Validation message disappears as expected.

3. Now if I try to Save, I get 1/1/2015 as the value on my server side code, not 3/1/2015. 

     $("StartDate").value() -- this has 3/1/215

     $("#grid").data("kendoGrid").dataSource.view() - this has startdate as 1/1/2015 which is wrong.

If I don't have the validation, everything works fine. What is causing this behavior? Please help.

My validation logic:

dateValidation: function(input){
   if ((input.is("[name='StartDate']") || input.is("[name='EndDate']")) && input.val() != "")
   {
     $("div.k-invalid-msg[data-for='StartDate']").hide();
     $("div.k-invalid-msg[data-for='EndDate']").hide();
 
     var startDate = new Date($("#StartDate").val());
     var endDate = new Date($("#EndDate").val());
 
     if (endDate < startDate)
       return false;
     else
       return true;
   }
   return true;
}

Boyan Dimitrov
Telerik team
 answered on 08 Feb 2016
2 answers
100 views

Hi again,
after some initial testing, we have found some formulae related issues.

1) first is about "shared" formulae formulae" (ie the ones obtained by dragging one formula over adjacent cells).
I'll attach you two simple xlsx file, both work exactly the same in MS Excel, but one doesn't work fine in Spreadsheet component.

Compare the first section of the two files: the row tagged as "Cumulative" doesn't work in Spreadsheet in the second version, since the "shared" sum formula doesn't work. 

NOTE: the first version is produced with MS Excel, the other with a famous third party commercial XLS library.

2) empty cells are not considered as "0", and give an error when used as parameters in formulae (see second section of any of the attached file, compared to first section) the yellow empty cell gives an error

 

3) SUMPRODUCT doesn't work. It's sufficient to test it on one of your online examples to verify. It throws an error

thanks and regards,
Sebastian

Mihai
Telerik team
 answered on 08 Feb 2016
3 answers
133 views

Hi there,

I believe I have found a bug with the PDF export on the grid in Q2 2015 and onwards. I have reproduced this bug using the VS2015 PDF Export demo  supplied with the Kendo install.

In order to replicate this bug, please enable bundling optimizations in the BundleConfig class:

 

BundleTable.EnableOptimizations = true;

 

Grid export to PDF will no longer work - it will fail with an error about the font:

"Cannot load font from http://localhost/Content/kendo/fonts/DejaVu/DejaVuSans-Bold.ttf?v=1.1"

It would seem that the path is working from the kendo folder and excluding the version number? The actual path to the font file should be:

"http://localhost/Content/kendo/2015.2.624/fonts/DejaVu/DejaVuSans-Bold.ttf"

The export works without issue when optimizations are disabled.

Regards,

 

Paul McKay

 

Daniel
Telerik team
 answered on 08 Feb 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?