Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone help me out with the code or some good link ,i am not able to find proper code for practice for raising event in user control Thanks in Advance
Posted
Comments
Maciej Los 11-Aug-13 7:39am    
VB.NET, C#, java?
WinForms, WebControls, WPF?
Star135 11-Aug-13 7:42am    
it is in C#
Maciej Los 11-Aug-13 7:45am    
and...
Please, answer my second question.
Star135 11-Aug-13 7:47am    
Webcontrols
[no name] 11-Aug-13 7:40am    
http://www.google.com or http://www.bing.com

This Tip is intended to automate the process of adding them to your code: A Simple Code Snippet to Add an Event[^] but it provides the template for how to create and then signal an event from your user control. When you signal it to any subscribing handlers, all you do is call the "On<event name>" method.
 
Share this answer
 
Comments
Maciej Los 11-Aug-13 8:03am    
Great tip, Paul!
+5!
 
Share this answer
 
v3
Comments
Maciej Los 11-Aug-13 8:05am    
Nice collection of links, Shuvro ;)
ridoy 11-Aug-13 8:07am    
Thanks Maciej,:)
Star135 11-Aug-13 8:14am    
Thanks MacieJ and Ridoy Thanks a lot
ridoy 11-Aug-13 8:15am    
Glad to help you,:)

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