I have a GridViewComboBoxColumn. I dont want the users to be able to edit the data in the column. I am setting the IsEnabled to False but that does not work. Please advise
<
telerik:GridViewComboBoxColumn
DataMemberBinding
=
"{Binding Author}"
ItemsSource
=
"{Binding Authors}"
SelectedValueMemberPath
=
"Initials"
DisplayMemberPath
=
"LastName"
Width
=
"100"
IsEnabled
=
"False"
/>
8 Answers, 1 is accepted
1
Hi Tarun,
Maya
the Telerik team
You need to set the IsReadOnly property of the column to "True".
Maya
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
0
Siva Prakash
Top achievements
Rank 1
answered on 28 Dec 2011, 01:14 PM
Hi,
When I want to disable a column, I am making use of its IsReadOnly property and setting it to true. Its working fine. But I want to show the ReadOnly column as a grayed out one. How can I do this.
Regards
K Siva Prakash.
When I want to disable a column, I am making use of its IsReadOnly property and setting it to true. Its working fine. But I want to show the ReadOnly column as a grayed out one. How can I do this.
Regards
K Siva Prakash.
0
Hello,
Vanya Pavlova
the Telerik team
Please check this forum thread "Styling ReadOnly column". The same approach is applicable to WPF as well.
Vanya Pavlova
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
aries
Top achievements
Rank 1
answered on 11 Aug 2014, 07:22 PM
Hi
Can anyone help me with disabling a radgridcombobox from a cell in the radgridview
Can anyone help me with disabling a radgridcombobox from a cell in the radgridview
0
Hello,
Configuring GridViewComboBoxColumn with IsReadOnly="True" should disable editing in it. I am not sure I understand your question. Would you please clarify it?
Regards,
Didie
Telerik
Configuring GridViewComboBoxColumn with IsReadOnly="True" should disable editing in it. I am not sure I understand your question. Would you please clarify it?
Regards,
Didie
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
aries
Top achievements
Rank 1
answered on 14 Aug 2014, 08:12 PM
I'm not able to reproduce the issue here....Is there anyway that I can do join.me with you inorder to show what im looking for ......................
0
aries
Top achievements
Rank 1
answered on 15 Aug 2014, 01:54 AM
please find the attached files for reference on fix needed. The xaml file is where changes are needed for the party column where a radgridcombobox column is assigned which has drop down values as groom and bride. All I need is to remove the combobox and replace it with groom in the first row column and bride in the second row column as shown In the screenshot .
0
Hi,
If you would like to change the ItemTemplate of the editor of GridViewComboBoxColumn, they you can apply a proper EditorStyle.
It seems the file was not attached. You can open a new support ticket on the matter and attach it there.
Regards,
Didie
Telerik
If you would like to change the ItemTemplate of the editor of GridViewComboBoxColumn, they you can apply a proper EditorStyle.
It seems the file was not attached. You can open a new support ticket on the matter and attach it there.
Regards,
Didie
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.