Sanjay Varma
Posts: 38
Joined: 2008-06-16
|
Hi
I am using adxolformsmanager where I am using a loading a form.
I have adxolformscollectionitem1 where I set the explorermessageclass value. Now is there any way for me to read the value from the configuration file and rewrite the value for adxolformscollectionitem1.ExplorerMessageclass . When I try to register it is showing me an error "Target method Invocation error".
kindly help.
Thanks,
sanjay.
|
|
Eugene Astafiev
Guest
|
Hi Sanjay,
You need to use the OnInitialize event of the AddinExpress.OL.ADXOLFormsManager class.
Here are the steps to get the job done:
1. You need to create an appropriate .config file.
2. In the OnInitialize event you can read a value and set the ExplorerMessageClass property.
P.S. Don't forget to set the "Copy To Output Directory" property of the .config file to "Copy always". |
|