Hi
I want to change the text property of a control. I need to do this in VB code and i do not know the name of the control until runtime. I am trying to use the find control function but I am not having any luck.
Make sure you are using the correct parent element when using the FindControl method. Then, step your your code and you should see if you are doing this correctly.
Hi Sorry to be a pain but I wouldnt know how to go about finding what the corrct parent would be. I have stepped through the code and it just sayd ctrl = nothing so it looks like Page isnt the correct parent
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.