As @Slace said you can't pass property values, however I don't know where the mode is for? But I can imagine that yoy can create another Usercontrol where you put this Usercontrol on and then pass the value through the new Usercontrol and configure the new Usercontrol in the Dashboard.config file.
dashboard - ascx with public property
Hello Umbraco Colleagues,
I have an ascx with a public property that sets a "mode".
Now I need to put this ascx in a dashboard tab -
but How to I construct the entry in dashboard.config to reference the control with the appropriate property?
Thanks,
David Hill
You can't pass properties to classes which make up dashboard controls.
Hi David,
As @Slace said you can't pass property values, however I don't know where the mode is for? But I can imagine that yoy can create another Usercontrol where you put this Usercontrol on and then pass the value through the new Usercontrol and configure the new Usercontrol in the Dashboard.config file.
Cheers,
Richard
Thank you. That should work.
David
is working on a reply...