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

Unable to bind IsEnabled property

1 Answer 104 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.
Surendra
Top achievements
Rank 1
Surendra asked on 26 May 2011, 12:24 PM
Hi,

I am not able to bind IsEnabled property of my gridview. If i set the property in the xaml like IsEnabled="True", then it works, but if i try to bind it to a boolean property, its not working correctly.

Is this a known issue? Is there any workaround for this?


Regards
N.Surendra Prasad

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 28 May 2011, 12:29 PM
Hello Surendra,

How are you trying to bind the IsEnabled Property of the GridView to a boolean property? 

You could bind the GridView property to a property in the DataContext of the GridView. 

I have prepared a sample example project showing the right way to bind the IsEnabled property, so that it is working correctly. In the example there is a CheckBox. By checking it you change the state of the IsEnabled and you could immediately see it applied on the GridView.

You may as well take a look at this forum thread regarding data Binding of column properties.

Regards,
Didie
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
GridView
Asked by
Surendra
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or