I hope someone can help with this simple problem...
Dim imagephoto As Image = CType(TabContainer1.FindControl("imgPhoto"), Image)
I'm trying to use the above code to find an image inside a formview inside a tabcontainer inside a webform. But this isn't working for some reason. The spelling is correct, but it's not finding the control.
What am I missing?
View Complete Post