Yes you can do it in the following way....
public void method()
{
MyUserControl myUserControl1 = new MyUserControl();
myUserControl1 .Text = ';Hello';;
MyUserControl myUserControl2 = new MyUserControl();
myUserControl2 .Text = ';Hello';;
}
You can also implement your User Control in different method also. But it will be answered perfectly if you can give the instance of your problems.
Thanks.Can i have more then one instance of user control in a single aspx page,if yes how can i implement?
i want using inline code that is in client side script not code behind
Report Abuse
yes we can created instance with different names
No comments:
Post a Comment