Click here to Skip to main content
15,900,511 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can we pass repeater as a parameter in Button_Click() function in source code in asp.net
Posted
Comments
soni uma 2-Feb-11 7:37am    
why you need a pass a repeater as parameter? In button click event t coding side you can get a repeater (Either dynamic or you used in page)
Manfred Rudolf Bihy 2-Feb-11 8:25am    
Make that an answer Soni and you can have my 5+.
Sunasara Imdadhusen 2-Feb-11 8:42am    
Why you want to pass repeater in button click? because you can access it anywhere in page!

1 solution

You don't generally pass controls around. You can pass the datasource, or some reference to the data or applicable portion of it.

To get a more accurate answer you'll need to give us some understand of what you are doing and why.
 
Share this answer
 

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