S
Shawn
I am trying to find a way to move a button control to a location where the
mouse is clicked. I got all the code in to find the coordinates and populate
a hidden control with the values, but when I try to move the button on
postback, it moves, but to a specific place on the form everytime. Here is
where I am doing the move...
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Init
btnLoc.Style("Position") = "Absolute"
btnLoc.Style("Top") = "25px"
btnLoc.Style("Left") = "100px"
End Sub
Any ideas???
mouse is clicked. I got all the code in to find the coordinates and populate
a hidden control with the values, but when I try to move the button on
postback, it moves, but to a specific place on the form everytime. Here is
where I am doing the move...
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Init
btnLoc.Style("Position") = "Absolute"
btnLoc.Style("Top") = "25px"
btnLoc.Style("Left") = "100px"
End Sub
Any ideas???