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

Header context menu column selection (checkbox) issue

4 Answers 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 21 Feb 2017, 07:19 PM

Hello,

I'm using Telerik UI for ASP.NET AJAX build 2017.1.118.40 with the Metro theme.

My application has many RadGrid instances, and for some reason none of them are showing column checkbox selections correctly in their header context menus.

I've attached a screenshot to demonstrate. You'll see that the columns that should be checked (they are currently visible in the grid) are shown using a light blue color - but they aren't actually checked. If I explicitly toggle the checkbox (by clicking it), then it appears as expected, but only until the next postback.

I thought I might have some styles conflicting with this theme, but I've removed all my application's CSS (as a test), and nothing changed.

Has anyone else encountered this? Any thoughts or feedback would be greatly appreciated.

- Mark R.

4 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 24 Feb 2017, 07:45 AM
Hello Mark,

Please make sure that you do not have RadFormDecorator on the page. You can verify the appearance and functionality of the checkboxes on the following live sample:
http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/columns/context-menu/defaultcs.aspx?skin=Metro

Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Mark
Top achievements
Rank 1
answered on 24 Feb 2017, 03:44 PM

Hi Eyup,

You're right, this appears to be some type of conflict with RadFormDecorator. If I remove it, the checkboxes work as expected.

So is this a known bug? I'm fairly certain this problem didn't exist in previous releases of Telerik UI for ASP.NET AJAX.

It also works if I set ControlsToSkip="CheckBoxes".

- Mark R.

0
Mark
Top achievements
Rank 1
answered on 24 Feb 2017, 04:09 PM

Hi Eyup,

Is there another way to work around this problem besides having RadFormDectorator skip checkbox controls entirely?

For example, is there a way to have RadFormDectorator skip specific control instances (such as my RadGrid instances)? Or maybe I can apply CSS styles to my RadGrid instances that will resolve the problem?

I'm fine with the RadGrid HeaderContextMenu column selection checkboxes not being themed, but would very much prefer to have all other checkbox controls in my application themed.

- Mark R.

0
Eyup
Telerik team
answered on 01 Mar 2017, 11:49 AM
Hello Mark,

You can cast your vote here:
https://feedback.telerik.com/Project/108/Feedback/Details/212070-radformdecorator-does-not-update-properly-the-state-of-the-grid-row-checkboxes

I'm afraid currently there is no viable workaround for this issue.

Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Mark
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Mark
Top achievements
Rank 1
Share this question
or