Change calendar title text RRS feed


  • User-1174608757 posted

    Hi Metaferia

    As far as I know ,It seems only two formats can be changed for month text in Calendar,so you couldn't change the content of title directly.If you want to change the calendar control title content dynamically,I suggest you to use Jquery to get the value of Title and change it. Else if you want to show the data in code behind,I suggest you to use Ajax.Here is a Work Round,I hope it will help you.

    <head runat="server">
        <script src="../Scripts/jquery-3.0.0.js"></script>
            $(function () {             
                 var customerId = $("#Calendar1 tr").find("td").eq(2).html("What you want");                
        <form id="form1" runat="server">
                <asp:Calendar ID="Calendar1" ShowTitle="true" runat="server"></asp:Calendar>

    Best Regards,


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, December 14, 2018 6:09 AM