Hello guys, all my answer has been answered by google but google cant save me from addeventhandler dilemna i have. Here's my code.
Frm reservation.aspxit will go to selectrate.aspx. Then on the selectrate.aspx , I will dymanically create a linkbutton based on the SQLQuery. I have added an OnClickLin event but it is not working. :( The code cannot call my OnClickLInk event. Whats wrong with my code? Help please
Protected Sub chckAvail_Click(ByVal sender As Object, ByVal e As EventArgs) Handles chckAvail.Click
Dim tempValue As String
Dim tempTextBox As TextBox
Dim tempCombo As DropDownList
Dim mainContent As ContentPlaceHolder
mainContent = DirectCast(Me.Master.FindControl("middleContent1"), ContentPlaceHolder)
tempTextBox = mainContent.FindControl("checkIn")
Context.Items("checkIn") = tempTextBox.Text
tem ...
Go to the complete details ...