Telerik Forums
Kendo UI for jQuery Forum
5 answers
280 views
Hi Kendo Team,

Well, after having built out a pretty good set of functionality with jQuery templates and the .Net rendering engine (http://nuget.org/packages/jquery-tmpl.net), I'm now looking for something that won't be pulled out from under my feet.  jQuery templates being cancelled is just bad, but it's great for Kendo!  

I and probably many others are looking to replace our jQuery template code since that project has been axed. 

My question though is... do you plan on offering a .Net rendering solution for your template framework?  It looks pretty similar to jQuery templates so it could even be possible to take the jQueryTmpl .net open source code renderer and to modify it?  If so, do you have a time frame for this?  For me, I'd love server-side rendering in .Net, php, and Ruby in that order of preference.

This has been pretty critical for us, because although the client-side is amazing, and as painful as it is to serve things up server-side we've build client-side, for SEO it's a huge issue still.
Atanas Korchev
Telerik team
 answered on 08 Aug 2012
1 answer
181 views
I have tried everything! I am doing a load on demand scenario. Every time it loads the results, every selection says UNDEFINED. Here is the code:


//HERE IS THE MODEL

    public class TscmisModel
    {
        public SelectList LoadOnDemandList { get; set; }
    }

//THIS IS A PARTIAL
@model USARAFSyncMVC.Areas.Event.Models.TscmisModel

@(Html.Kendo()
      .ComboBox()
      .HtmlAttributes(new { style = "width: 900px" })
      .Name("cbTscmis")
      .Filter(FilterType.StartsWith)
      .MinLength(3)
      .Suggest(true)
      .DataTextField("Text")
      .DataValueField("Value")
      .HighlightFirst(true)
      .BindTo(Model.LoadOnDemandList)
      .DataSource(source =>
      {
          source.Read(read =>
          {
              read.Action("_LoadTscmisData", "Event", new { area = "Event" });
          }).ServerFiltering(true);
      }))




//THIS IS THE SERVER METHOD
        public ActionResult _LoadTscmisData(string text)
        {
            TscmisModel model = new TscmisModel();
            if (!string.IsNullOrEmpty(text))
            {
                model.LoadOnDemandList = miscRepository.LoadTscmisData(text);
                return PartialView("TscmisPartial", model);
            }
            model.LoadOnDemandList = new SelectList(new List<SelectListItem>());
            return PartialView("TscmisPartial", model);
        }
Ryan Lege
Top achievements
Rank 1
 answered on 08 Aug 2012
0 answers
92 views
Hi, from webpage, I knew that Kendo UI support automatic layout system. But why is my app in iPad does not rotate when I rotate my iPad? Do I missing something here? Thanks for any help
tan
Top achievements
Rank 1
 asked on 08 Aug 2012
1 answer
222 views
Hey guys, 

I'm wondering whether its possible to have one request to the server to get all my data, then display different grids based on seperate filters for each grid?

My problem at the moment is that each grid creates a new data source & therefore a new query to the server, even though the query returns all the data each time. 

I've come across dataSource:cache:"inmemory" but this doesn't seem to help. It's as though I need to create clones of the DataSource after it's returned from the server and modify the filter for each copy.


Any suggestions would be appreciated
Thanks
J
Top achievements
Rank 1
 answered on 07 Aug 2012
0 answers
89 views
Hi everybody

I have a problem with the Add button in the grid.
I'm doing some tests and something strange happened.
By clicking the Add button, a popup appears with the fields, an ok button and cancel the other. Sometimes when I click the cancel button, a row is inserted with all null values ​​and add button stops working. The code is this:

    .Columns(columns =>
    {
        columns.Bound(p => p.Isn);
        columns.Bound(p => p.EventoIsn);
        columns.Bound(p => p.UsuarioEdicao);
        columns.Bound(p => p.ValorCaptacao);
        columns.Bound(p => p.Processado);
    })
    .ToolBar(toolbar => {
        toolbar.Create().Text("");
    })
    .DataSource(dataSource => dataSource
        .Ajax()
        //.Server()
        .Model(model => model.Id(p => p.Isn))
        .Create(update => update.Action("Create", "CaptacaoItem"))
    )
    .Editable(editable => editable.Mode(GridEditMode.PopUp)
        .Window(w => w.Title("Captação Item")
            .HtmlAttributes(new { @id = "fLogin" })
            .Height(700)
            .Width(700)
            .Resizable())))
Duan
Top achievements
Rank 1
 asked on 07 Aug 2012
1 answer
395 views
Hi.  I have an MVC3 application programmed in VB.NET.

In this MVC3 application, I have a controller.  The controller's JSON action has 3 parameters as specified below:

        Function JSONRetrieveDocuments(
            ByVal contactId As Guid,
            ByVal includeLoanBasedDocuments As Boolean,
            <DataSourceRequest()> request As DataSourceRequestAs ActionResult

As part of a Grid, I build a route value dictionary as part of the function that creates the CrudOperationBuilder:

        Public Function CreateCrudOperationBuilder(cob As Kendo.Mvc.UI.Fluent.CrudOperationBuilderAs Kendo.Mvc.UI.Fluent.CrudOperationBuilder
            Dim theRouteValueDictionary As New RouteValueDictionary()
 
            theRouteValueDictionary.Add("contactId", Request.QueryString("contactId"))
	    'theRouteValueDictionary.Add("includeLoanBasedDocuments", ???
           Return cob.Action("JSONRetrieveDocuments""ContactBasedDocument", theRouteValueDictionary)         End Function

When making the call to JSONRetrieveDocuments, I want to be able to populate the includeLoanBasedDocuments parameter of the controller's action by simply returning the checked status of a checkbox...  so I created this javascript function:

    function ShouldIncludeLoanBasedDocuments() {
        return $("#cbIncludeLoanBasedDocuments")[0].checked;
    }


I'm curious 
a) how do I supply the result of the javascript function to the route values?
b) am I following best practices on this one?   It seems like this would be a common operation, but I couldn't find any documentation on it.

Thanks,

Jason
Jason
Top achievements
Rank 1
 answered on 07 Aug 2012
0 answers
90 views
I need to be able to set the focus to a cell during DataBound. Can anyone provide an example of how to do that?
the column is : 
columns.Bound(o => o.QtyCurrentlyReceived).Width(75).Title("Qty Curr Rx"); 


AkAlan
Top achievements
Rank 2
 asked on 07 Aug 2012
1 answer
1.3K+ views
hi all, how can I create a hidden column in the table?

columns: [ {
                                field: "NedP",
                                title: "Населенный пункт",
                                template: "<div > ${ NedP } </div>"
                                }]

Table does not have the properties of hidden (visible)
Dark
Top achievements
Rank 1
 answered on 07 Aug 2012
2 answers
103 views
I can't for the life of me see how to search the forums!

Can someone please explain where this is hidden?

Many thanks,

Kevin
Kevin
Top achievements
Rank 1
 answered on 07 Aug 2012
1 answer
132 views
Hi,

I want to perform an ajax call only when next and previous navigation happens.
How can i get a handle on these events?

I get the month and year like this but how can i tell if the user is navigating forward or back a month?
var month = this._current.getMonth() + 1;
var year = this._current.getFullYear();

.Events(events => events 
                                        .Change("goToDate")
                                        .Navigate("goToMonth"))

Thank you.
Gilbert
Top achievements
Rank 1
 answered on 07 Aug 2012
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?