:: Forum >>

get position of combo popup in AW2.5

Hi all, i have used the combo in the grid. i have tried to get the position of the popup by using the below code,but it returns error. please anybody spot me what whoud be the problem to return combo popup position

var setcombo = new AW.UI.Combo;
setcombo.setId("setcombo");
setcombo.setControlText("ALL");
document.write(setcombo);
alert(getLeft(setcombo));
alert(getTop(setcombo));
Sabi
Monday, September 29, 2008
There is no public AW API for getting element position. If you are trying to call internal AW method then the correct syntax is AW.getLeft(obj.element());
Alex (ActiveWidgets)
Monday, September 29, 2008

This topic is archived.


Back to support forum

Forum search