Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Any ideas on an efficient way of showing holidays? (Read 3795 times)
Rob Branaghan
YaBB Newbies
*
Offline


I Love 2 Code!!

Posts: 16
Location: Warwickshire, England
Joined: Jan 6th, 2012
Any ideas on an efficient way of showing holidays?
Jan 6th, 2012 at 1:29pm
Print Post  
Hi everyone,

I am new to using this control, and have inherited some code that uses it. And one of the issues I come across was the fact the software almost slows down to a stand still when it shades in the weekends and holidays.
(Resource View Vista)
When it isnt shading the holidays in, it handles lovely. But the moment you add the Shading in, I can go to the drinks machine and drink a tin of pop and come back and it is still redrawing.

My Dev Pc is Intel i7, and has 3gb memory, and is a farily speedy pc.

Does anyone have a way I can programmatically say.

DaysOnHolidayToShade.Add(New TimeSpan());
and then have the control handle the shading?
  

Robert Branaghan
.NET Software Developer
FactoryMaster Ltd.
Back to top
WWW  
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Any ideas on an efficient way of showing holidays?
Reply #1 - Jan 6th, 2012 at 3:12pm
Print Post  
Hi Rob,

What exactly do you mean by 'shading'? Can you share the code you are using or alternatively send me an application that reproduces the problem?

Regards,
Meppy
  
Back to top
 
IP Logged
 
Rob Branaghan
YaBB Newbies
*
Offline


I Love 2 Code!!

Posts: 16
Location: Warwickshire, England
Joined: Jan 6th, 2012
Re: Any ideas on an efficient way of showing holidays?
Reply #2 - Jan 9th, 2012 at 1:55pm
Print Post  
Hi Meppy,

Basically it is shading the cells in the back ground of the Resource View Vista control.

That is how the person had done it before, but it made the application too slow.
  

Robert Branaghan
.NET Software Developer
FactoryMaster Ltd.
Back to top
WWW  
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Any ideas on an efficient way of showing holidays?
Reply #3 - Jan 10th, 2012 at 7:06am
Print Post  
Can you send me an application illustrating the slowdown so that I can test it locally and see what can be improved? Alternatively you can send me only the code that implements the 'shading'.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint