Hi,
Thank you for your post.
I think you can use javascript to check the current scroll position of the
textarea (multi-line textbox):
<script language="javascript">
function check()
{
form1.button1.disabled = !(form1.text1.scrollTop ==
(form1.text1.scrollHeight - form1.text1.clientHeight));
}
</script>
You do this check in the onscroll event of the textarea, you can set the
onscroll event in Page_Load:
text1.Attributes.Add("onscroll", "javascript:check();");
Hope this helps. Please feel free to post here if anything is unclear.
Regards,
Walter Wang (
[email protected], remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.