|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Javascriptng PropertiesHello,
I have written some javascript that allow a user to position my asp.net controls some where on the page, this works just fine and the position & sze is stored in the pixelLeft, pixelTop, pixelHeight pixelWidth properties. How can I access these properties from my app? I've tried control.style("pixelLeft") but it doesn't give me anythng. Thanks, James Hi James,
You won't be able to read these items directly from the server, as they aren't determined until the page is completely rendered. What you'll have to do is read that property into a hidden field on the page using Javascript, and then read that hidden field after a Postback. Marcie On Fri, 15 Apr 2005 00:44:08 GMT, James Doughty <inva***@email.com> wrote: Show quoteHide quote >Hello, >I have written some javascript that allow a user to position my asp.net >controls some where on the page, this works just fine and the position & >sze is stored in the pixelLeft, pixelTop, pixelHeight pixelWidth >properties. How can I access these properties from my app? I've tried >control.style("pixelLeft") but it doesn't give me anythng. > >Thanks, >James
Help with Debugging
Paging by example - help - still no luck.... Get processes list problem (win 2000) Reading an XML file into a Dataset - problem Response.Redirect("WebForm1.aspx") Sharing references/members Custom Collections : overriding toString iHttpModule and Virtual Directories VB.net Ablauf vom packen eines Projekts Web Application using VB.NET |
|||||||||||||||||||||||