Hi,
I am drawing a textbox when a button is clicked. But, i want this to be done for the first time the user clicks on the button. My code is
Private Sub Cash_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cash.Click
Dim txtbox As New TextBox()
txtbox.Width = Unit.Pixel(100)
txtbox.Height = Unit.Pixel(20)
PlaceHolder1.Controls.Add(txtbox)
End Sub
how do i track down the number of times the button has been clicked ?
help me out ...
I am drawing a textbox when a button is clicked. But, i want this to be done for the first time the user clicks on the button. My code is
Private Sub Cash_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cash.Click
Dim txtbox As New TextBox()
txtbox.Width = Unit.Pixel(100)
txtbox.Height = Unit.Pixel(20)
PlaceHolder1.Controls.Add(txtbox)
End Sub
how do i track down the number of times the button has been clicked ?
help me out ...