moving textbox position

liunx

Guest
hello i am new in .net
can somebody tell me is it posible to move a text box position when clicking a button ???hello i am new in .net
can somebody tell me is it posible to move a text box position when clicking a button ???

Sub Button1_Click(sender As Object, e As EventArgs)
TextBox1.Style("Position") = "Absolute"
TextBox1.Style("Top") = "25px"
TextBox1.Style("Left") = "100px"
End Sub


-takthank so much it worksany locus focus or got focus on .net ??any locus focus or got focus on .net ??

No, not on the server side.

You may use OnTextChanged and see if it does what you need. Remember to setup autopostback to true for that control when doing this.

-Takthanks it works what i want
 
Back
Top