Reputation: 6945
How is it possible to customize "Go to the previous month" and "Go to the next month" tooltips is standard asp.net Calendar control.
Thanks!
Upvotes: 2
Views: 2684
Reputation: 262919
The PrevMonthText and NextMonthText properties of the Calendar controls accept HTML markup, i.e. they don't encode the string assigned to them.
Therefore, you can use them to render a <span>
element with its title
attribute set to the custom text you want to appear in the tooltip:
yourCalendar.PrevMonthText = "<span title='Your tooltip'>Your Text</span>";
Upvotes: 2