---
title: "Set calendar extender format"  
description: "Set calendar extender format"  
author: "Takeshi Okada"  
published: 2014-08-27  
updated: 2014-08-27  
canonical: https://www.mindstick.com/forum/2177/set-calendar-extender-format  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# Set calendar extender format

Does [anyone](https://www.mindstick.com/articles/23207/how-to-find-the-best-fit-job-for-anyone) know if there is a way of specifying the [Format](https://www.mindstick.com/forum/162083/how-to-convert-ost-files-into-pst-format) of a [calendar extender](https://www.mindstick.com/forum/2154/ajax-calendar-extender-binding-null-to-text-as-selected-date) with a [dynamic](https://www.mindstick.com/blog/11080/features-of-java-dynamic-complied-and-interpreted) [value](https://www.mindstick.com/articles/23219/an-optimized-description-adds-value-to-experience-and-in-turn-effectively-guest-posting-packages) from the aspx? I tried this but it doesnt seem to set the format at all. Does anyone see anything [wrong](https://answers.mindstick.com/qa/48468/who-wrote-the-the-wrong-enemy-america-in-afghanistan-2001-2014-and-when) with it:

```
    <asp:TextBox ID="tbStartDate" runat="server" />   
<act:CalendarExtender ID="clndrStartDate"PopupPosition="Right" runat="server" Format='<%# DefaultDateFormat %>'
TargetControlID="tbStartDate"></act:CalendarExtender>
```

and i have the DefaultDateFormat getter in a [base](https://www.mindstick.com/articles/12627/how-can-predictive-analytics-enhance-customer-base-and-experience) [page](https://www.mindstick.com/articles/13031/why-to-make-a-wikipedia-page) of the [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii) beheind like this:

```
public static string DefaultDateFormat    {        get { return "dd/MM/yyyy"; }    }
```

Any help would be appretiated.

Thank you

## Replies

### Reply by Sumit Kesarwani

Hi Takeshi, \

Call DataBind Method on [calendar](https://www.mindstick.com/articles/13088/how-to-choose-the-best-calendar-for-you-dynamics-crm-system) extender instance.

clndrStartDate.DataBind();


---

Original Source: https://www.mindstick.com/forum/2177/set-calendar-extender-format

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
