Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic WRONG 'Default Item Template' :-( (Read 7176 times)
zyko
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Nov 3rd, 2011
WRONG 'Default Item Template' :-(
Nov 3rd, 2011 at 4:57pm
Print Post  
i'm trying to use your 'Default ItemTemplate'.
(adapt it)
http://www.mindfusion.eu/onlinehelp/wpfplanner/The_Default_Item_Template.htm

BUT: things are wrong in ResizeBands area.
neither
ItemSettings="{TemplateBinding ItemSettings}"
NOR
ResizeBandsVisible="{TemplateBinding Selected}"
works.
Both propertys are readonly so trying to set them FAILS of course.
seems to be 'old code'...

would be great to get 'CORRECT SAMPLE' Code for the default setting!

g
zyko
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: WRONG 'Default Item Template' :-(
Reply #1 - Nov 4th, 2011 at 7:15am
Print Post  
These properties are not read-only. What is the error you are getting? Also, what version of the control do you use?

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


I love YaBB 1G - SP1!

Posts: 5
Joined: Nov 3rd, 2011
Re: WRONG 'Default Item Template' :-(
Reply #2 - Nov 4th, 2011 at 9:38am
Print Post  
Hi Meppy,
MindFusion.Scheduling for WPF
Q3 2010:

according to docu

http://www.mindfusion.eu/onlinehelp/wpfplanner/P_MindFusion_Scheduling_Wpf_Resiz...

at least NOW and in past ItemSettings seems to be readonly
public ItemSettings ItemSettings { get; }

in my version Q3 2010 ResizeBandsVisible is readonly too according to your delivered HTML help docu AND my code experiments.

public bool ResizeBandsVisible { get; }

although now things might have change in newer versions according to
http://www.mindfusion.eu/onlinehelp/wpfplanner/P_MindFusion_Scheduling_Wpf_Resiz...

BUT Orientation is used to set in the sample too as
Orientation="{TemplateBinding Orientation}"

in real it's 'god thanks' not read only

the following sample code
Code
Select All
ResizeBands rb = new ResizeBands();
rb.Orientation = new MindFusion.Scheduling.Wpf.Orientation();
rb.ItemSettings = new ItemSettings();
rb.ResizeBandsVisible = false;
 


in q3 2010 leads to the following compiler errors
Code
Select All
Property or indexer 'MindFusion.Scheduling.Wpf.ResizeBands.ItemSettings' cannot be assigned to -- it is read only
Property or indexer 'MindFusion.Scheduling.Wpf.ResizeBands.ResizeBandsVisible' cannot be assigned to -- it is read only
 


and of course things fail in xaml giving the same errors.
the setting Orientation goes ok - kindly ignoring doku restrictions *gg*

http://www.mindfusion.eu/onlinehelp/wpfplanner/P_MindFusion_Scheduling_Wpf_Resiz...

you have some 'different things' in code and doku

if you've a real working sample for q3 2010 for 'Default ItemTemplate' i'ld be happy...
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: WRONG 'Default Item Template' :-(
Reply #3 - Nov 4th, 2011 at 10:09am
Print Post  
Hi,

The setters of the properties in question were indeed internal back in version Q3.2010. This was a bug and the property setters were exposed in a later release. Please, check the clients area for an updated version of the controls.

I hope this helps.

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


I love YaBB 1G - SP1!

Posts: 5
Joined: Nov 3rd, 2011
Re: WRONG 'Default Item Template' :-(
Reply #4 - Nov 4th, 2011 at 10:13am
Print Post  
i've got no login for
http://www.clientsarea.eu/Default.aspx

i bought this component via componentsource.

i'm not needing any new features and i'm not willing to BUY an upgrade, becouse someone else made a bug.

i only want to have things running as they should.
can you give me an update for free or sample code that really works in my version - what did you use internally in q3???
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: WRONG 'Default Item Template' :-(
Reply #5 - Nov 4th, 2011 at 10:38am
Print Post  
Click on the Registration link and enter the order number you received from ComponentSource. After you complete the registration our administrators will approve it and you will be able to download the most recent version of the package.

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


I love YaBB 1G - SP1!

Posts: 5
Joined: Nov 3rd, 2011
Re: WRONG 'Default Item Template' :-(
Reply #6 - Nov 4th, 2011 at 10:41am
Print Post  
registration done - waiting for approval...
  
Back to top
 
IP Logged
 
zyko
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Nov 3rd, 2011
Re: WRONG 'Default Item Template' :-(
Reply #7 - Nov 4th, 2011 at 1:20pm
Print Post  
Hi Meppy + MindFusion Support-Team,

THX THX THX
anything now works to my complete satisfaction in Q4 2011 Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint