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

[Solved] Calling show/hide turn items "invisible" forever

2 Answers 93 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
relper
Top achievements
Rank 1
relper asked on 12 Mar 2008, 12:20 AM

Looks like when making successive calls to client side methods show()/hide() of treeview context menus to set visibility of a couple items both of them become “invisible”. What I found out is that the protected member "_styleCssText" has the content below:

"PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; OVERFLOW: hidden; PADDING-TOP: 0px; HEIGHT: 0px"

My solution was to reset it to an empty string right before calling show()/hide() for each menu item. Can you please confirm if this is the expected solution?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Erjan Gavalji
Telerik team
answered on 12 Mar 2008, 09:02 AM
Hi relper,

We found that bug several days after the official service pack release. Please, open a formal support ticket so that I can send you the dev build having it fixed.

Best regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
relper
Top achievements
Rank 1
answered on 12 Mar 2008, 03:04 PM
Thanks Erjan. I think I'll keep the solution we have for now and wait for the next official build. Thanks again.
Tags
TreeView
Asked by
relper
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
relper
Top achievements
Rank 1
Share this question
or