Posted 10 September 2017, 12:35 pm EST
Hello Arpad,
Regarding your queries:
1.) Please make your project’s .net framework is set to 4 or higher version and it should not be a “Client profile” type.
In order to add Wpf controls in the toolbox, you need to provide the dll’s location. The default dll location is:
C:\Program Files\ComponentOne\Studio for WPF\bin\v4
Please follow the steps below to add Wpf controls:
- Add a new Tab in the Toolbox and name it “C1Wpf Controls”.
- Right Click under the tab “C1Wpf Controls”.
- Select “Choose Items”.
- Select “Wpf Component” tab.
- Scroll through the C1Controls and Select all the Controls that you want in the toolbox and then click OK. The controls will be added in the toolbox. If you do not find any Wpf control while scrolling then,
- Click on browse button.
- Navigate to default Wpf controls library (whose link is provide above).
- Add the dlls of the desired control. The controls will be added in the toolbox.
2.) No, it is not necessary to change the namespace with every update. Such type of changes was applicable only upto the last update. You are requested to check the the version information of all the references to C1Controls added in your project and make sure all should be the same. Now remove this namespace and add it again.
Note: If the dlls of C1Control is not available at the default location provided above, then you may download the C1WpfLibrary from the below link and after download, right click on zip folder → click on properties → click on “Unblock button” (if there) → press ok. Now extract the zip folder to default location and add C1Control dlls from there by following the above steps.
http://prerelease.componentone.com/dotnet40/c1wpflibrary/2014-t3/C1WPFBasicLibrary.4_4.0.20143.434.zip
Please let me know if it works for you.
Thanks,
Prashant