Click here to Skip to main content
15,902,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to raise an event in one user controls insertcommand of radgrid which could execute an event or method of another user control
Posted

I just think, posting such issues about a 3rd party control at telerik Forum would be more useful.
Here:TELERIK Forum[^]

Try looking here: Telerik RadGrid Forum[^]
Posting here is fine but it might be already discussed there!

I had found that specific questions related to 3rd party is answered more quickly and accurately at respective forums.
 
Share this answer
 
Comments
VJ Reddy 26-Apr-12 23:44pm    
Good suggestion. 5!
durgeshtupkar10 27-Apr-12 0:42am    
thnx Sandeep for suggestion.
SQL
Defining an event in the first usercontrol and calling the event


  public event SelectionChangedEventHandler SelectionChanged;

  private void lstData_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {

          if (SelectionChanged != null)
            {
                SelectionChanged(this, null);
            }
        }


While using this usercontrol...you can use the selection changed event
 
Share this answer
 
Comments
durgeshtupkar10 28-Apr-12 0:28am    
thnx, but how it will work in second usercontrol(.ascx), plz explain...
hai,
Iam extremely sorry to inform you that i dont know about web usercontrols..Iam a wpf application developer and this method is used in wpf
 
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