Results 1 to 2 of 2

Thread: [2005] Calendar No of Rows

  1. #1

    Thread Starter
    Hyperactive Member Coool's Avatar
    Join Date
    Feb 2006
    Location
    System.Coool
    Posts
    333

    Question [2005] Calendar No of Rows

    Hi all,

    I have one problem with Calendar Control. It shows 6 rows which contains atleast 7 days of next month.

    I have already disabled cell from Day Render control but i wouldlike to know the better way to do so.. I tried to find the property like no of rows but no luck.

    Any idea ???
    I am using .NET 2010 with Windows 7

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Calendar No of Rows

    In the DayRender event of the Calendar control, do a check for

    vb Code:
    1. If e.Day.IsOtherMonth Then
    2. e.Cell.Text = ""
    3. End If

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width