Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Postbacks and document.body.clientHeight

Thread Tools

Postbacks and document.body.clientHeight
Posts: n/a

Ive got a LinkButton on my page with populates a repeater with data.

Ive also got this:

<a href="javascript:alert(document.body.clientHeight) ;">Click Me</a>

When i click 'Click Me' on page load, it pops up with some value like
"200" which is correct.

However if i click the 'populate' linkbutton (thus filling the repeater
with data - and increasing the page vertical height), then click 'Click
Me', the alert box still reports "200", as though the browser hasnt
refreshed the DOM and realised that the body is now larger than before.

Is this just a firefox issue (i havet got IE7 installed on this machine
yet) and is there a workaround?



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
AJAX - Partial Postbacks are now Full Postbacks ?!! ASP .Net 0 01-25-2007 07:04 AM
Datagrids with checkboxes and postbacks... Gavin ASP .Net 2 07-30-2003 09:29 AM
Re: Postbacks and Input Type=File controls Karl Seguin ASP .Net 1 07-24-2003 03:58 PM
Re: Grr Tables and postbacks Natty Gur ASP .Net 3 07-16-2003 04:28 AM
Where to store Variables that have to last during Refreshes and Postbacks Vincent V ASP .Net 0 07-08-2003 01:15 PM