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

RadComboBox Hiding Issue..

6 Answers 335 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Chamira
Top achievements
Rank 1
Chamira asked on 18 Sep 2008, 04:41 PM
RadComboBox Is giving me a problem when i hide them via Styles..
RadComboBox1.Style["Visibility"] = "hidden" ;

When i call that the combo box is hidden but the borders of the control is shown .. ( like a text box ) it only shows in IE.. not Firefox.. tested in all computers

THanks

Is this a bug in the latest Q2 version

Thanks...

6 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 19 Sep 2008, 07:03 AM
Hello Chamira,

Inorder to hide a combobox, you can set its Visible property to false as shown below which will work in all browsers..
cs:
RadComboBox2.Visible=false

Princy.

0
Chamira
Top achievements
Rank 1
answered on 19 Sep 2008, 09:34 AM
hi Princy...

the problem is that i want to ajaxify it...

from a button .. so wen its invisible it gives a javascript error sayin control not found..

i will post the error wen i get to my office.. thanks..


0
John
Top achievements
Rank 1
answered on 14 Oct 2008, 12:10 AM
Chamira,
    Have you found a solution to your issue?  I am experiencing the same behavior.  I have a combobox in a div, along with other controls, that is hidden by default and its client visibility (style="visibility:hidden/visible") is controlled via a buttons OnClientClick event.  Initially, the combobox border is visible even when all the other controls in the div are not.  If I make the div that contains the combobox visible via client-side script and then hide it again, the border goes away.   Strangeness indeed.

Thanks,

John
0
Chamira
Top achievements
Rank 1
answered on 15 Oct 2008, 02:41 AM
Unfortunately no..
I had the form visible without hiding it..
if you find a solution please share it with us..
0
John
Top achievements
Rank 1
answered on 15 Oct 2008, 04:10 AM
Chamira,
    What I did was a total hack.  On initial page load the Div that contains the combobox is visible.  I've put a bit of script at the bottom of the page that sets the div's style.visibility = hidden after the page loads.  It hides the border most of the time.  There are instances that the outline remains.   So long story short, no good solid solution from my end.

John
0
Chamira
Top achievements
Rank 1
answered on 15 Oct 2008, 04:11 AM
Hi John

I hope telerik fix this issue
Tags
ComboBox
Asked by
Chamira
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Chamira
Top achievements
Rank 1
John
Top achievements
Rank 1
Chamira
Top achievements
Rank 1
Share this question
or