Live Chat Icon For mobile
Live Chat Icon

How to hide ‘other months’ in a Calendar Control

Platform: ASP.NET| Category: Calendar

In the Calendar DayRender Event

VB.NET


If e.Day.IsOtherMonth = True Then
	e.Cell.Text = ''
End If

C#


if (e.Day.IsOtherMonth = true)
{
            e.Cell.Text = '';
}

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.