Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to find textbox id dynamically in nested master page in c#?
Posted
Comments
Member 10276220 24-Dec-13 4:55am    
my code is...

TextBox txtDate = (TextBox)this.Page.Master.Master.FindControl("TextBox" + i.ToString());

 
Share this answer
 
Comments
Member 10276220 24-Dec-13 5:19am    
i have tried like this..but its not working
Hi,

See the below link. It might be helpful to you.
http://stackoverflow.com/questions/1578188/nested-masterpages-and-findcontrol[^]
Here given the example of label.
 
Share this answer
 
Comments
Member 10276220 24-Dec-13 5:18am    
i have tried like this..but its not working

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900