ProgressBar |
Post Reply |
Author | |
flauzer
Senior Member Joined: 30 December 2003 Location: Italy Status: Offline Points: 108 |
Post Options
Thanks(0)
Posted: 10 April 2006 at 5:32am |
I'm using the calendarControl with Custom Provider on SQL server and the DatePicker with AttachToCalendar...
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
There are no direct way to determine begin and end amounts of requesting events set.
But: the DatePicker has a property BoldDaysWithEvents, and when it is disabled the control doesn't requests data provider for events on a partucular day. You can set it to False by default. Then somewhere (on form initialization) set it to True and call DatePicker.RedrawControl. That will start a massive request to a DataProvider. Initizalize your progress bar just before. The total amount would be a number of Date Picker days displayed. And you can hide your progress bar by timeout: in 500 ms after the last request to SQL server. -- WBR, Serge |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |