Telerik Forums
Community Forums Forum
1 answer
1.3K+ views
I'm fairly new to programming and sometimes there is so much information out there but for some reason I'm having the hardest time understanding kendo templates. I'm trying to conditionally check if a value is true or false and then set my columns accordingly. I came across a Telerik article that states you can conditionally check using JavaScript:

http://docs.telerik.com/kendo-ui/documentation/getting-started/using-kendo-with/aspnet-mvc/helpers/grid/faq

In my model I am using Razor and creating my columns similar to:

@model IEnumerable<MvcApplication1.Models.Product>

@(Html.Kendo().Grid(Model) // Bind the grid to the Model property of the view
.Name("Grid")
.Columns(columns =>
{
columns.Bound(p => p.ProductID); //Create a column bound to the "ProductID" property
columns.Bound(p => p.ProductName); //Create a column bound to the "ProductName" property
columns.Bound(p => p.UnitPrice); //Create a column bound to the "UnitPrice" property
columns.Bound(p => p.UnitsInStock);//Create a column bound to the "UnitsInStock" property
})
.Pageable() //Enable paging
)

My question is what is the difference between the .Template and .ClientTemplate? Am I still able to use arbitrary JavaScript code in .Template?

Any information would be greatly appreciated!
hadi
Top achievements
Rank 1
 answered on 17 Sep 2018
5 answers
399 views

I want to write my own wordpress plugin.

Does anyone know where I can find a lits of hooks and filters and what they do?

Also, is there a book that is a good reference for people who want to write wordpress plugins?

 

Lara
Top achievements
Rank 1
 answered on 07 Sep 2018
1 answer
214 views

Hello guys,

 

I'm working on some report in Telerik Report Designer R2. Using SQL database, I'm geting data by the select command. The problem is: in SQL management studio the query is working fine, in Telerik it is 'working forewer'. But when I'm adding the TOP clause, it is starting to work, but still it is not giving all expected rows as a results. In SQL managament Studio I have around 100 rows as a query result, in Telerik I have like 15-20 rows, and only if the TOP clause is added. CAn you assist with this issue?

 

Best regards,

Maciej

Ivan Hristov
Telerik team
 answered on 06 Sep 2018
8 answers
200 views
What's the best way to go about handling a support ticket when it is not being handled?

I'm suppposed to have a 24 hour response time on my support tickets.  I created a support ticket on Friday @ 9:18 am and I have yet to have any response at all..... even just a "we received your issue and are looking in to it."

Yesterday morning I e-mailed Client Service... haven't heard anything from them.  Yesterday afternoon I called the Sale Department (just to let someone know what my issue was)  I was told that support would be notified and I would have some feedback by the time I came in this morning.  Still nothing......

What's the best way to go about getting this issue resolved?

matchbx
Petya
Telerik team
 answered on 13 Aug 2018
1 answer
111 views

Hi, 

 

I have Multiple questions so I'll just list them here instead of creating multiple threads. I'm working on a web base project which is built using Silverlight. Now here is my question:

1. How can I validate the UI result vs MySQL database? 

2. How can I validate exported file in FTP server? 

3. How to get the values of ToolTip - this is a bit tricky because since this is like a hover event, I cannot get the xaml path of the tooltip window itself because when the mouse cursor is out of focus on that element, the tooltip window disappears. Is there a way to get the values? 

 

I'm using C# for my coded steps. I'm not yet an expert at C# so I'm not sure if these kind of validations are supported in Telerik. Can we use Assert for these backend validations? This is the only information I can give as of now because I don't have any code for this. 

Thank you. 

Vera
Telerik team
 answered on 27 Jul 2018
3 answers
104 views

Hi,

 

I just encountered an error in TS Test Runner "Process is terminated due to StackOverflowException". Tried to search a similar issue here but no luck. 

https://ibb.co/f4Vj9J

 

Please Help. Thanks

 

Elena
Telerik team
 answered on 24 Jul 2018
1 answer
86 views
1. Select a column (any column)
2. from the toolbar, select Custom Format and date type
3. Then enter a date with the following format (mm / dd / yyyy) example: 07/17/2018 and when I press enter to go to another cell, the month has been modified to 1/17/2018, any month entered changes to 1 / dd / yyyy

Dilyan Traykov
Telerik team
 answered on 20 Jul 2018
1 answer
116 views
Does online learning beneficial for students? What are the requirements to take online course?
Brandon
Telerik team
 answered on 12 Jul 2018
1 answer
169 views

I have a project made in C#, ASP Net Core (2.1) with razor pages.
Now i need an image editor, usable by clients.
There's no need for cross-platform, so adding windows libs is ok.

Doesn't look like there's a telerik Image Editor control for MVC or Net Core, which is understandable.

However, when adding a windows compatibility package to a Net Core (razor) project, one should be able to do image editing.

My question is, is there an image editor control for this situation, or will there be in the future?

If not, is there an alternative to have a (controlled) image editor, where at least you can add text and images on top of another image?

Thanks.

 

Veselin Tsvetanov
Telerik team
 answered on 12 Jul 2018
0 answers
83 views
Hello. I am a new member ! Nice to meet you! I'm sure this place is very good.
madamx
Top achievements
Rank 1
 asked on 18 Jun 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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
Iron
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?