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

Hidden attribute

2 Answers 77 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
FierceMuppet
Top achievements
Rank 1
FierceMuppet asked on 07 Aug 2008, 05:28 AM
I am just not upgrading the the new versions of the controls and I notice that the Hidden attibute is not avaialble for the radToolbarButton object. I would like to hide and show buttons from the server side. I have code on the client to show and hide buttons based on the user's actions, but I would like to have this done on the server as well.

2 Answers, 1 is accepted

Sort by
0
Accepted
Erjan Gavalji
Telerik team
answered on 07 Aug 2008, 10:20 AM
Hi FierceMuppet,

If you plan to show items that are hidden on the server via client-side code, then you should just use RadToolBarButton1.Style[HtmlTextWriterStyle.Display] = "none";

Please, find attached a small sample page, demonstrating that.

Let me know if that helps.

Kind regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
FierceMuppet
Top achievements
Rank 1
answered on 07 Aug 2008, 05:06 PM
That did the job!!

Thanks!
Tags
ToolBar
Asked by
FierceMuppet
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
FierceMuppet
Top achievements
Rank 1
Share this question
or