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

Problems with custom cell template

1 Answer 7 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Mads asked on 06 Jan 2015, 09:18 AM
I am trying to create a custom filter tool for a group of texts

I have the following XAML and codebehind is and my custom type is

What I dont understand is that if I have 
                        DataMemberBinding="{Binding Path=Checked}"/>
                        DataMemberBinding="{Binding Path=Text}"/>

Then it works but its ugly as I want to it look exactly like the 
<CheckBox Content="{x:StaticExtension localization:SemenBucketTexts.SelectAll}" Click="SelectAll" />
above with no borders or headers

If I then try to create a custom celltemplate 

                                <CheckBox Checked="{Binding Path=Checked}" Content="{Binding Text}"/>

I get an exception 
InnerException = {"Unable to cast object of type 'System.Reflection.RuntimeEventInfo' to type 'System.Reflection.MethodInfo'."}

1 Answer, 1 is accepted

Sort by
Ivan Ivanov
Telerik team
answered on 06 Jan 2015, 05:13 PM

Please, let us carry out any further communication on this matter in the other thread that you have opened, so that we can maintain consistent dialogue. I will close this thread for now

Ivan Ivanov

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Asked by
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question