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

RadTab Server-Side hide, Client-Side hide/show

2 Answers 86 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
orhan
Top achievements
Rank 1
orhan asked on 19 Oct 2010, 03:46 PM
Hello,

I'm trying to hide a RadTab on the server-side and show/hide it on client-side. 

I tried [TabObject].Style["display"] = "none"  on the server side but I can't reach that "display:none" attribute from anywhere in the client-side.

On the client-side, I tried [TabObj].get_element().style.display = "", [TabObj].set_visible(true), none of them worked.

Waiting for your help.

Thanks in advance.

Orhan

2 Answers, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 19 Oct 2010, 07:01 PM
Hello Orhan,

Use get_linkElement(), instead, since that's where the style is applied to.

I hope that helps.
0
orhan
Top achievements
Rank 1
answered on 20 Oct 2010, 08:14 AM
Hello Cori,

That worked, thanks.

Regards,
Orhan
Tags
TabStrip
Asked by
orhan
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
orhan
Top achievements
Rank 1
Share this question
or