Hi..........
In my windows application I need a calender user
control which popsup on wen a button is clicked and fills the selected
date on a text box near the button.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Marimuthu ArigovindasamyPosted Jun 30, 2010, 7:51 PM
1. Display the DOB and DOJ control in left and right side (in 2 columns) or
2. Make the "Bring to front" first for the DOJ control and then the top calender control (DOB).
Please find the attached code.
diyaPosted Jul 1, 2010, 12:40 AM
It works fine
Thanks a lot :)
thanku
diya
diyaPosted Jun 30, 2010, 7:31 AM
Its works fine when there is only one date control.
Bt if there r 2 date control nearby and given Bring to front on both then one wil b over the other.
Attached the sample apln here.
thanku
diya
diyaPosted Jun 30, 2010, 5:55 AM
thanku
diya
Marimuthu ArigovindasamyPosted Jun 28, 2010, 1:10 AM
2. Set AutoSize to true for the calender control properties in design mode (frmTest.cs [Design] )
3. Pls ensure, surely do u need monthCalendarDate_DateChanged event. (If yes, pls invisible the calender accordingly)
If u want only do the functionality when the user selects the date from calender control use monthCalendarDate_DateSelected event.
Attached updated code
diyaPosted Jun 28, 2010, 12:44 AM
Thanks for ur reply
Try to place a few control near the user control in a form and run
u can see that calender wil me over those controls and is not fully visible
Plz... see this attachment
Marimuthu ArigovindasamyPosted Jun 25, 2010, 3:01 AM
It's exactly same as ur requirement.
Usercontrol has textbox and image button control. When u click on the button, it will open a calendar popup. Once the user selects the date, will update that text box with the selected value.
See attachement.
diyaPosted Jun 25, 2010, 2:37 AM
thanks for ur reply....... bt this one is a big usercontrol..... we cant use it in application ... it wil took a large space...
Can u find one in which calender popsup on click only....
thanku
diya
Marimuthu ArigovindasamyPosted Jun 23, 2010, 10:08 PM