Questions tagged [client-templates]

33 questions
1
vote
2 answers

How can I send a value from a column in a Kendo Grid containing a button to a ClientTemplate?

I am trying to send an ID from the row in the Grid to a ClientTemplate. I have a column with a delete button and I want to send the ID of the row clicked on to the ClientTemplate so I can hit the controller with an AJAX call. I know I can do this…
MattParra
  • 291
  • 2
  • 14
1
vote
1 answer

add css to a cell through client template in a kendo grid

My cols are defind as belwo x.Bound(y => y.IsStudentIn).Hidden(true); x.Bound(y => y.Student).ClientTemplate("# if(IsStudentIn== false) {# #}#"); if IsStudentIn = false, I want the Student cell to…
GANI
  • 2,013
  • 4
  • 35
  • 69
1
vote
2 answers

ASP.NET AJAX Client Templates - Jquery Equivalent

I've been looking at ASP.NET AJAX Client Templates. My position is that I prefer to use Jquery rather than ASP.NET AJAX as I feel this will win the day in the long term. Are there Jquery plugins/functionaility that provide the same kind of help for…
AJM
  • 32,054
  • 48
  • 155
  • 243
1
vote
1 answer

kendo numerictextbox in clienttemplate - issue with dot in name

I am doing following in kendo grid: columns.Bound(x => x.Item.Equity) .Format("{0:f2}") .Width(100) .HeaderTemplate("Equity
Meta") .ClientTemplate(Html.Kendo().NumericTextBox() .Name("mp_#=Item.Id#") .Min(0) …
1
vote
0 answers

Using Pre-Compiled Templates with Sammy

Sammy has a lot of features for working with template languages. However, when working with brunch, the server pre-compiles all the templates for me, which is very much desired. So they're all available as java-functions, how can I use those with…
Lanbo
  • 15,118
  • 16
  • 70
  • 147
0
votes
2 answers

Asp.net Client Templates -

Is it possible to re-use a client-template using asp.net ajax 4.0 client templates? I have a scenario as shown in the example below. I have two questions here: I could not get the if conditionwork in client-template How can I re-use the u l…
0
votes
2 answers

Making a copy of markup from the DOM

I am working on a ASP.NET page that has a button clicking on which adds a new section of markup for the user (A section of markup is a combination of dropdown list, textbox and textarea). A user can add any number of these sections, key in data and…
DotnetDude
  • 11,617
  • 35
  • 100
  • 158
0
votes
0 answers

How to retrieve value of one column to another column using CLientTemplate by passing the column name as parameter

I have a KendoUI page and I want to display a CaseNumber as hyperlink if the Review type present in the record is present in the List of ReviewTypes that is saved in a different table. If the reviewType is not present than I want to display the…
0
votes
2 answers

Emitting Javascript from jQuery templates

I want to emit some js from jQuery templates e.g I have template like