Sign in | Join
Last post 07-03-2006 8:08 AM by haidar_bilal. 3 replies.
Sort Posts: Oldest to newest Newest to oldest
I'm not able to use FindControl in pageload to get a valid handle on controls.Why doesn't this code work? I'm going out of my mind.
Syntax in pageload:
public
Code in mypage.aspx:
<%
FindControl is not a recursive method! Check out this method to see how to FindControls when you are working with MasterPages and ContentPages:
ASP.NET 2.0 MasterPages and FindControl()
HTH,
Regards
Thanks, that worked as a charm! I'm very greatful for your answear. It helped me a lot, I don't have to write repetitive code for each dropdown. Lebanon rules!
I am glad I was able to help you out!!