---
title: Inspecting a Kendo UI Datepicker for theming
kind: blog
description: The Kendo UI Datepicker has no configuration option to show it all the time. How to inspect and theme it?
words: 11
readingMinutes: 1
created: '2014-08-21T13:24:15.000Z'
updated: '2026-06-27T21:03:45+02:00'
tags:
  - development
---
We can catch the close event and prevent it like this:

```javascript
var datepicker = $("#datepicker").data("kendoDatePicker");
datepicker.bind("close", function(e) {
  e.preventDefault();
});
```
