只是一个参考:
this.textBox1.SelectionStart=this.textBox1.Text.Length;
this.textBox1.ScrollToCaret();
this.textBox1.Focus();
this.textBox1.SelectionStart=this.textBox1.Text.Length;
this.textBox1.ScrollToCaret();
this.textBox1.Focus();
</form>
<script>
document.all['textbox1'].value = document.all['textbox1'].value;
</script>如果在后台写:
Page.RegisterStartupScript("","<script>document.all['textbox1'].value = document.all['textbox1'].value;</script>") 一句看起来没什么意义的代码却能实现你要的效果!