This is a migrated thread and some comments may be shown as answers.

[Solved] Custom DataColumn in external dll not visible

4 Answers 89 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rudolf Bösch
Top achievements
Rank 1
Rudolf Bösch asked on 20 Sep 2010, 08:05 AM
Hello there,

I'm trying to create a reusable collection of customized controls. Therefore I created a Silverlight class library in which I created some controls, within some others I created a customized GridViewDataColumn as shown in the Q2 2010 SP1 demo. Several of my components (defined as UserControls) are visible in the XAML-Designer when I use the Included DLL in my project, but not the DataColumn (however I can insert it programmatically from code-behind where i can see the control).

When I define the same Control within the Project, not in an external dll it does appear in the XAML-designer just fine.

What am I missing?

Thanks in advance for your help.

Cheers
Rodolphe

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 21 Sep 2010, 06:52 AM
Hi,

 Can you verify if the namespace for this external column is registered properly in XAML?

Greetings,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rudolf Bösch
Top achievements
Rank 1
answered on 21 Sep 2010, 04:38 PM
As I told you, I can see the Components Instantiated as UserControls which are in the same Namespace.

However there's a difference, the UserControls have a XAML-file while the GridViewDataColumn does not (I tried to inherit from it instead of the UserControl directly in the XEML-file, but the type GridViewDataColumn does not appear in the types-list unless I have a RadGrid surrounding it).
0
Milan
Telerik team
answered on 22 Sep 2010, 02:36 PM
Hi Rudolf Bösch,

Sometimes Visual Studio IntelliSense might not show types event if they are available. Could you please try to manually define your column in XAML even if the IntelliSense does now show your type?

I have also included a sample project that demonstrates how a custom column, defined in external assembly, can be used.


Kind regards,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rudolf Bösch
Top achievements
Rank 1
answered on 23 Sep 2010, 02:49 PM
Hello Milan

Thanks for your Help, using your sample and reading through other threads in the forum I figured the thing out, it works right now even with intellisense... hope it holds.

Kind Regards
Rudolf
Tags
GridView
Asked by
Rudolf Bösch
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Rudolf Bösch
Top achievements
Rank 1
Milan
Telerik team
Share this question
or