I have a text box and button on a page. I want to set the TargetURL at the Click event so that I can pass a Querystring.
My code is....
My problem is that the code says txFindCandidate is not defined. Where have I gone wrong?
Thanks
I've not failed! Just found 100 ways that don't work...yet!
My code is....
Code:
Protected Sub ButFind_Click(By Val sender As Object, ByVal e As System.EventArgs)
Dim clickedButton AS Button = sender
clickedButton.PostBackUrl - "FindCandidate.aspx=?CID" & txFindCandidate.text
End Sub
My problem is that the code says txFindCandidate is not defined. Where have I gone wrong?
Thanks
I've not failed! Just found 100 ways that don't work...yet!