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...
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
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:
Princy.
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..
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
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..
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
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
I hope telerik fix this issue