如何在radgrid的一个用户控件中引发事件,该命令可以执行另一用户控件的事件或方法 [英] How to raise an event in one user controls insertcommand of radgrid which could execute an event or method of another user control

查看:84
本文介绍了如何在radgrid的一个用户控件中引发事件,该命令可以执行另一用户控件的事件或方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在radgrid的一个用户控件中引发事件,该命令可以执行另一个用户控件的事件或方法

How to raise an event in one user controls insertcommand of radgrid which could execute an event or method of another user control

推荐答案

我只是认为,发布此类问题在telerik论坛上讨论第三者控制会更有用.
此处: TELERIK论坛 [ Telerik RadGrid论坛 [
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.


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


hai,
我非常遗憾地通知您,我不了解Web用户控件..我是wpf应用程序开发人员,该方法在wpf中使用
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


这篇关于如何在radgrid的一个用户控件中引发事件,该命令可以执行另一用户控件的事件或方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆