|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Web Control PositioningI need to set the location of a popup window to cover a dynamically postioned
control. Setting the position on the popup is no problem, but how do I get the position of the dynamic control ? Any help appreciated Joe90 you can use javascirpt to grab the x, y position.
e.g var obj = document.getElementById('xxx'); xxx = the client id of the control. var x = obj.offsetLeft; / obj.style.posLeft; var y = obj.offsetTop; / obj.style.posTop; P.S. the obj should not be a child element, the value will be zero if the control is a child element. Show quoteHide quote "Joe90" <Jo***@discussions.microsoft.com> wrote in message news:12FB8165-0996-4133-AA73-9B5B071EBBFD@microsoft.com... >I need to set the location of a popup window to cover a dynamically >postioned > control. > > Setting the position on the popup is no problem, but how do I get the > position of the dynamic control ? > > Any help appreciated > Joe90
objectdatasource.update() fires System.InvalidOperationException
THEAD Button Click event not firing DropDownList not giving the selected item when a Button is clicked... please help newbie... GridView Multi Select ? Viewing Composite Controls at Design Time Hide SideBar of Wizard Control Custom type converter How to filter file types when using the HTMLInputFile control... Table - no ViewState |
|||||||||||||||||||||||