>>Hi everybody,
>>
>>In the MonthViewCalendar control I can set the Max and Min dates. However, I don't see dates what are greater than that date to be visually disabled. Is there any way to make it more visible for the user?
>>
>>Thanks in advance.
>
>Ok, it simply doesn't work for me. I select, say, March 1st. And then it shows in my masked textbox 31/20/08 ?
>
>Frustrating :(
>
>Well, it's formatting (maskedtextbox) that made this effect. So, is it possible to have both Mask and a Calendar work together?
Ok, I can remove the mask in the Calendar control and I can set it back in GotFocus if the value is empty.
However, there is also a possibility to select a date and then delete it. After that I can type any garbage. So, for me it sounds like there should be a better solution when resetting Mask to nothing.
Any ideas on that before I start ripping this little thing apart?
Thanks a lot in advance.
And one more question, if I may. Is there a way to have analogue of "this" in the object's code? Right now I'm always using full notation in all methods... Doesn't sound right to me.
If it's not broken, fix it until it is.
My Blog