| Author: vipul 17 Jul 2008 | Member Level: Diamond | Rating: Points: 6 |
Hi, for that you used this way Page.FindControl("your control name")
fro example TextBox txt = this.Page.FindControl("txtName") as TextBox;
so in the class file for that you passed the pagename and used this way here i pass the page name to my class function,this function is used in the aspz page GetControlsWithLanguages(this.Page.Form.Controls);
and you get all the control in the clas file this way private void GetControlsWithLanguages(ControlCollection ctlParent)
vipul, http://dongavipul.blogspot.com
Patel Vipul Web Developer Ahmedabad ( Gujarat )
|