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

Bug in GridViewDataColumn check boxes

6 Answers 49 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Duncan Bayne
Top achievements
Rank 1
Duncan Bayne asked on 18 Jan 2011, 06:57 AM
The default check box behaviour in the Telerik GridViewDataColumn is incorrect. 

There are no visual cues to distinguish between read-only and writable.  The only way of telling whether the cell is writeable is to click on it.

I've posted a short video demonstrating the problem here:

http://www.youtube.com/watch?v=qJrjtzdhExk

There are clear guidelines for this sort of behaviour in the Windows User Experience Interaction Guidelines (http://msdn.microsoft.com/en-us/library/aa511258.aspx).  In particular, see the example on page 45, which I've reproduced here:

http://i54.tinypic.com/99m8o7.png

 

6 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 18 Jan 2011, 05:08 PM
Hello Duncan,

 
Please take a look at the following forum thread.

Kind regards,
Vanya Pavlova
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Duncan Bayne
Top achievements
Rank 1
answered on 18 Jan 2011, 11:23 PM
Vanya,

Thanks for the suggestion, but I don't see how that forum post is relevant. The issue is not that I can't prevent the user from clicking the checkbox. Setting the IsReadOnly property achieves that.

My issue is with the fact that the default style of the GridViewDataColumn provides no visual indication of whether the controls in the column are read-only, or not.  They are all greyed out, which contravenes the advice in the Windows User Experience Interaction Guidelines.

The fix to this would be to alter the default style, so that if the controls only appear greyed-out if they are read-only.

I have attached a Visual Studio solution that clearly demonstrates the desired behaviour vs. the actual behaviour.  Here is a screenshot:

http://i55.tinypic.com/jigdnk.png

Yours,
Duncan Bayne
0
Vanya Pavlova
Telerik team
answered on 20 Jan 2011, 05:12 PM
Hello Duncan,

 
RadGridView uses the standard CheckBox when you are using GridViewDataColumn and GridViewCheckBox in GridViewCheckBox column. In both cases they are gray colored by design when the cell is not in Edit mode.

To override this behavior you can define a CellTemplate of your data column and put a checkbox in it. You can bind its IsEnabled property to a property of your business object and the states of the checkbox will be the ones that you expect.


Greetings,
Vanya Pavlova
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Duncan Bayne
Top achievements
Rank 1
answered on 20 Jan 2011, 11:14 PM
Vanya,

Thanks for your reply.  I understand that I can change the styles by editing templates. 

The issue I'm raising is that the default behaviour - i.e. checkboxes that don't visually distinguish between writable and read-only - is a bug.  It simply doesn't follow the Windows UX guidelines.

Yours,
Duncan Bayne
0
Accepted
Vanya Pavlova
Telerik team
answered on 24 Jan 2011, 02:46 PM
Hi Duncan,

We will further discuss the issue internally with the team.
In the meantime I have logged your request in our PITS system and you can vote for implementing it in the future following this link.


Best wishes,
Vanya Pavlova
the Telerik team

Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Duncan Bayne
Top achievements
Rank 1
answered on 25 Jan 2011, 12:38 AM
Vanya,

Thanks for following this up :-)

Yours,
Duncan Bayne
Tags
GridView
Asked by
Duncan Bayne
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Duncan Bayne
Top achievements
Rank 1
Share this question
or