B
Brian
Hello,
I am trying to program a button to click with code. I
do not want to have to repeat the code that I already have
in the project. I figured that I could use the button
that is alreay there instead of redoing it. The only
thing is that I can't seem to get the button to fire
without the user clicking it. It says proform click is
not a member of sysyem.web.ui.webcontrols.button. Is
there a way to make this happen on a webform
example code:
Private Sub Button4_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button4.Click
txtReqAsset.Text = txtLinked1.Text
Button3.PerformClick()
End Sub
I am trying to program a button to click with code. I
do not want to have to repeat the code that I already have
in the project. I figured that I could use the button
that is alreay there instead of redoing it. The only
thing is that I can't seem to get the button to fire
without the user clicking it. It says proform click is
not a member of sysyem.web.ui.webcontrols.button. Is
there a way to make this happen on a webform
example code:
Private Sub Button4_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button4.Click
txtReqAsset.Text = txtLinked1.Text
Button3.PerformClick()
End Sub