Click here to Skip to main content
16,012,468 members

Comments by ylsv (Top 3 by date)

ylsv 7-Dec-11 12:31pm View    
Thanks for your response. I have done that already but I wanted the data I retrived for that id to be passed to TabPersonal. After searching for a while I have come acrossed FindControl. But it gives null reference exception. Here is how I am trying to pass the data to TabPersonal.


Dim txt As TextBox = Nothing


txt = Master.FindControl("cntContractorEdit").FindControl("TabContractor").FindControl("TabPersonal").FindControl("txtContractorNumber")
txt.Text = dr("ContractorNumber")
ylsv 7-Dec-11 12:28pm View    
Deleted
Thanks for your response. I have done that already but I wanted the data I retrived for that id to be passed to TabPersonal. After searching for a while I have come acrossed FindControl. But it gives null reference exception. Here is how I am trying to pass the data to TabPersonal.


Dim txt As TextBox = Nothing


txt = Master.FindControl("cntContractorEdit").FindControl("TabContractor").FindControl("TabPersonal").FindControl("txtContractorNumber")
txt.Text = dr("ContractorNumber")
ylsv 7-Dec-11 9:24am View    
Thanks Herms.