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

[Solved] .Hidden() vs .Hidden(true) ? bug?

3 Answers 106 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Carl
Top achievements
Rank 1
Carl asked on 08 Apr 2011, 09:10 PM
Using latest internal build, and Telerik Grid with MVC3 Razor and AJAX binding, I've experienced problems with .Hidden() on columns.

.Hidden() hides the column header but not the column value resulting in a shifting of all column headers one column to the left of their corresponding column values.

In contrast, .Hidden(true) produces the correct results.

If .Hidden() is supposed to default to the equivalent of .Hidden(true), then surely this is a bug?

Or is it just a fluke on my machine?!?

3 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 11 Apr 2011, 08:35 AM
Hello Carl,

Setting .Hidden() or .Hidden(true) results in same Grid html output. Can you please check the rendered html once again? 

Regards,
Nikolay
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
0
Carl
Top achievements
Rank 1
answered on 11 Apr 2011, 04:37 PM
I have observed this problem repeatedly, and continue to observe it reproducibly merely by changing .Hidden() to .Hidden(true) and back and forth.

I get the right behavior with .Hidden(true) and the wrong behavior with .Hidden() as described in my original post.
0
Nikolay Rusev
Telerik team
answered on 13 Apr 2011, 08:04 AM
Hello Carl,

Seems like this is reproducible in client side binding scenarios. I will do my best to have this fixed for the upcoming SP1. In the meanwhile please use the overloaded HIdden method with explicit parameters.

I have also updated your Telerik points.

Best wishes,
Nikolay
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
Grid
Asked by
Carl
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Carl
Top achievements
Rank 1
Share this question
or