Hi,
I have several comboboxes in a form that are OK in IE but when using firefox the drop down is shown too low (the deviation changes between boxes).
Since the distance of the comboboxes from the top of the screen is fixed, I used the following fix:
The JS function is (inspired by RadComboBox in ModalPopupExtender - wrong DropDown position under Firefox & Safari):
This works fine for the "fixed" comboboxes, the problem is for the "load on demand" box which after every "items request" gets positioned wrong again.
How can i fix this issue?
Thanks,
Nir.
I have several comboboxes in a form that are OK in IE but when using firefox the drop down is shown too low (the deviation changes between boxes).
Since the distance of the comboboxes from the top of the screen is fixed, I used the following fix:
<telerik:RadComboBox ID="customer" runat="server" OnClientDropDownOpened="FirefoxDropDownCorrection" ... |
function FirefoxDropDownCorrection(sender, eventArgs) |
{ |
if (!$telerik.isIE) { |
var dropDownWrapper = sender.get_dropDownElement().parentNode; |
var sID = sender.get_id(); |
if ( sID == "customer") { |
dropDownWrapper.style.top = "63px"; |
} |
if (sID == "searchby" || sID == "FindCombo") { |
dropDownWrapper.style.top = "125px"; |
} |
if (sID == "CombinedType") { |
dropDownWrapper.style.top = "212px"; |
} |
} |
} |
This works fine for the "fixed" comboboxes, the problem is for the "load on demand" box which after every "items request" gets positioned wrong again.
How can i fix this issue?
Thanks,
Nir.