I am a newbie to ASP. I have researched my problem before asking this question and found several similar postings. I have not been able to find a solution that I can make work for my situation.
I have a FormView control (fvCityLookup) that is nested inside another FormView control (fvMain). I am trying to pull values from the labels in my nested FormView (fvCityLookup) and plug them into text boxes in the parent FormView control (fvMain).
My research on the subject has lead me to believe that I am not using FindControl properly.
I have tried several methods like the following but I can't get it to work:
Dim ZIPID As Label = Me.fvMain.Row.Controls.fvCityLookup.FindControl("eZIPIDLabel")
I have a FormView control (fvCityLookup) that is nested inside another FormView control (fvMain). I am trying to pull values from the labels in my nested FormView (fvCityLookup) and plug them into text boxes in the parent FormView control (fvMain).
My research on the subject has lead me to believe that I am not using FindControl properly.
I have tried several methods like the following but I can't get it to work:
Dim ZIPID As Label = Me.fvMain.Row.Controls.fvCityLookup.FindControl("eZIPIDLabel")