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

Setting AllowDrag in generic.xaml raises exception

1 Answer 28 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Rajesh
Top achievements
Rank 1
Rajesh asked on 24 Feb 2010, 11:55 AM
Hi

In my following example , I am trying to set AllowDrag property for listboxitem in my generic.xaml file. When the application gets loaded, it raises exception. Can you help me what wrong I am doing in it.

http://cid-2b9bf77533900b84.skydrive.live.com/self.aspx/.Public/Tutorial3.zip

Regards
Rajesh

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 25 Feb 2010, 04:40 PM
Hi Rajesh,

There seems to be a bug in the Silverlight XamlParser when embedded styles with attached properties are parsed.

If you place the style in the resource dictionary and reference it with {StaticResource} there will be no exception. I am attaching the correct xaml here.

All the best,
Miroslav
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.
Tags
DragAndDrop
Asked by
Rajesh
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or