Click here to Skip to main content
15,887,822 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I am new to asp.net. I want to call a nonstatic methode of another control(ascx) when i click on a button.How can i do this in code behind?

Thank you
Posted

1 solution

you have to create object of that control.
using this control reference(object) call that method
 
Share this answer
 
Comments
prasad Hewage 12-Oct-10 8:54am    
:) It is obvious.I just ask for another way.its not practical to create objects of controllers since they hold dynamic data based on clientID and so on.
Khaniya 14-Oct-10 3:48am    
so you have to give some specific information regarding

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