05-10-2010 04:25 PM
I have been working on a custom Dashboard control using the Dashboard samples listed on the forums, the control works as intended as far as data display is concerned the problem however is that the instances of the control on any Dashboard layout do not seem to persist across sessions (e.g. if I restart ACT and go to the Dashboard screen then I will need to setup each individual dashboard to render the data that I want).
The Dashboard control has a string property called CurrentTemplate which I intend to use to load the template associated with a given Dashboard control instance,I have noticed that this property is saved as an XML element within the .DSH file corresponding to the Dashboard layout BUT the value of the property Is not.
So is there a way to save the property(s) values for each dashboard control instance and load them up when the control is initialized?
05-13-2010 08:14 AM
05-13-2010 02:11 PM
Thanks for the reply,It is the former, All I want is to persist the Template's name across sessions, If there is no way for ACT to do that when closing the dashboard or logging off then I guess I will have to code the logic for it myself, If that is the case then my next question would be how Do I know the order by which I can tell which instance is which?