6 Answers, 1 is accepted
0

Princy
Top achievements
Rank 2
answered on 16 Nov 2011, 05:39 AM
Hello Daniel,
I have tried to reproduce the issue but no avail. Make sure that you are not overriding the default CSS. Here is the screenshot.
Thanks,
Princy.
I have tried to reproduce the issue but no avail. Make sure that you are not overriding the default CSS. Here is the screenshot.
Thanks,
Princy.
0

Daniel
Top achievements
Rank 2
answered on 16 Nov 2011, 12:41 PM
Hello, thank you very much for your help.
The problem occurs when I move the scroll down.
Thank you.
The problem occurs when I move the scroll down.
Thank you.
0

Daniel
Top achievements
Rank 2
answered on 17 Nov 2011, 03:21 PM
Help me please!
Thanks to All
Thanks to All
0
Accepted
Hi Daniel,
This is expected behavior of RadCombbox. The dropdown is absolute positioned element, and its position is calculated according the combobox when it is displayed. To avoid this I would suggest you to handle the scroll event of the RadPane's content element and manually hide the RadComboBox'es dropdown, e.g.:
Regards,
Dobromir
the Telerik team
This is expected behavior of RadCombbox. The dropdown is absolute positioned element, and its position is calculated according the combobox when it is displayed. To avoid this I would suggest you to handle the scroll event of the RadPane's content element and manually hide the RadComboBox'es dropdown, e.g.:
<
style
type
=
"text/css"
>
.positionCombo
{
margin-top: 200px;
margin-bottom: 100px;
}
</
style
>
<
telerik:RadSplitter
ID
=
"RadSplitter1"
runat
=
"server"
Orientation
=
"Horizontal"
>
<
telerik:RadPane
ID
=
"RadPane1"
runat
=
"server"
>
<
telerik:RadComboBox
ID
=
"RadComboBox1"
runat
=
"server"
CssClass
=
"positionCombo"
>
<
Items
>
<
telerik:RadComboBoxItem
Value
=
"1"
Text
=
"1"
/>
<
telerik:RadComboBoxItem
Value
=
"2"
Text
=
"2"
/>
<
telerik:RadComboBoxItem
Value
=
"3"
Text
=
"3"
/>
<
telerik:RadComboBoxItem
Value
=
"4"
Text
=
"4"
/>
<
telerik:RadComboBoxItem
Value
=
"5"
Text
=
"5"
/>
</
Items
>
</
telerik:RadComboBox
>
</
telerik:RadPane
>
<
telerik:RadPane
ID
=
"RadPane2"
runat
=
"server"
>
</
telerik:RadPane
>
</
telerik:RadSplitter
>
<
script
type
=
"text/javascript"
>
Sys.Application.add_load(function ()
{
var splitter = $find("<%= RadSplitter1.ClientID %>");
var combo = $find("<%= RadComboBox1.ClientID %>");
var pane = splitter.getPaneById("<%= RadPane1.ClientID %>");
var paneElem = pane.getContentElement();
$telerik.addHandler(paneElem, "scroll", function ()
{
combo.hideDropDown();
}, false);
});
</
script
>
Regards,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0

Daniel
Top achievements
Rank 2
answered on 22 Nov 2011, 04:04 PM
The solution is perfect, but it does not work for the columnfilter from radgridview.
As I can solve this problem?
Better yet, as I can find all the controls of radcombobox type on my form and apply these function?
I appreciate your cooperation.
Thanks
As I can solve this problem?
Better yet, as I can find all the controls of radcombobox type on my form and apply these function?
I appreciate your cooperation.
Thanks
0
Hi Daniel,
You can get reference to all RadComboBox controls' client-side objects registered on the page using the following JavaScript:
All the best,
Dobromir
the Telerik team
You can get reference to all RadComboBox controls' client-side objects registered on the page using the following JavaScript:
var
comboBoxes = Telerik.Web.UI.RadComboBox.ComboBoxes;
//get an array of registered RadComboBox client-side objects
All the best,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now