We have a dropdownlist control which is a Language/Locale selector. When the user changes their language selection, we make an AJAX call to change the user's current language on the server and then the client will refresh the page on AJAX success (this is the changeLanguage js function).
Because of WCAG 2 AA testing, we need to allow keyboard navigation. There are 2 ways I see the keyboard user can navigate the dropdown list.
1 - tab onto the control, click Alt-Down Arrow, use the up/down arrow keys to choose the option you want, tab out of the control
2 - tab onto the control, use the up/down arrow keys choose the option you want, tab out of the control
Scenario 1: Tabbing out of the control should fire the change event and the close event. If we associate changeLanguage function with either of these, we're looking good.
Scenario 2: We don't want to use the change event since the user may want to arrow up/down through several options before tabbing off the control, and that tabbing off the control should make their selection and fire the event. The close event doesn't fire since we never opened the dropdown. What makes sense would be to have an onblur event, but that event is not available via Kendo (AFAIK)
For both Scenario 1 & 2, the onblur event should work - or we can attach the changeLanguage function both both close and onblur, which should cover both scenarios.
So, for the onblur event, do I need to go outside the kendo events and use jQuery? If I need to use jQuery onblur, on which element of the dropdownlist should I attach the event handler to?
Thanks,
--Ed
$("#scheduler").kendoScheduler({ date: new Date(), startTime: new Date("2013/11/27 07:00 AM"), endTime: new Date("2013/11/27 06:00 PM"), workDayStart: new Date("2013/1/1 08:00 AM"), workDayEnd: new Date("2013/1/1 6:00 PM"), selectable: true, views: [ { type: "day", allDaySlot: false }, { type: "week", selected: true, allDaySlot: false }, "month", "agenda" ], editable: { template: kendo.template($("#schedulerTemplate").html()) }, dataSource: _dataSourceDetailedAppointmentScheduler, edit: _api.onEditScheduler, cancel: _api.onCancelScheduler, save: _api.onSaveScheduler, navigate: _api.onNavigate, moveStart: _api.onMoveStart, mobile: true, messages: { cancel: "Cancelar", date: "Fecha", deleteWindowTitle: "Borrar visita", event: "Visita", save: "Guardar", showFullDay: "Mostrar las 24 Horas", showWorkDay: "Mostrar horas laborales", time: "Hora del dÃa", today: "Hoy", editor: { editorTitle: "Crear/Editar Visita" }, views: { day: "DÃa", week: "Semana", month: "Mes", workWeek: "Semana laboral" } }, resources: [ { field: "CommertialRepresentativeId", // The field of the scheduler event which contains the resource identifier title: "Representante Comercial", // The label displayed in the scheduler edit form for this resource dataSource: [ { text: "Representante 1", // Text of the resource instance value: 1, // Identifier of the resource instance, use that value to assign an event to this instance. color: "#ff0000" // Used as the background of events assigned to this resource. }, ], multiple: false // Indicate the this is a multiple instance resource } ]});<li class="k-state-default k-nav-current"><a role="button" href="#" class="k-link"><span class="k-icon k-i-calendar"></span><span data-bind="text: formattedDate"></span></a></li>function showMessage(container, name, errors) { //add the validation message to the form container.find("[data-valmsg-for=" + name + "],[data-val-msg-for=" + name + "]") .replaceWith(validationMessageTmpl({ field: name, message: errors[0] })) }<div class="k-widget k-tooltip k-tooltip-validation k-invalid-msg" style="margin: 0.5em; display: block;" data-for="last_name" role="alert"><span class="k-icon k-warning"> </span>last_name is required<div class="k-callout k-callout-n"></div>Hi,
Our data access layer returns a DataTable generated by a stored procedure using ADO .Net.
I've seen and tried your Kendo.DynamicLinq NuGet package. It works well with "normal" IQueryable objects, but I have the following issues:
Dynamic Linq queries don't work with Linq to DataSets
Converting the DataRows into DynamicObjects doesn't work with Dynamic Linq
Is there an example available to achieve what I want? (Namely server side paging, sorting & filtering)
Thank you.
<script type="text/javascript" language="javascript"> $(document).ready(function () { $('.toolTipFastTop').each(function () { $(this).kendoTooltip({ autoHide: false, position: 'top' }); }); });</script><input style="margin:40px" class="toolTipFastTop" title="BlablaTest" type="checkbox" />