问题描述
我在DataGrid中有超链接按钮,并在其中绑定索引。当我在DataGrid中单击Hyperlink时,它必须选择ComboBox项;基于组合框中的选定项目,我必须加载页面中的其余控件。
当我正常更改组合框中的选择时,选择更改事件正在触发但是当我来自超链接时,选择更改事件没有触发;
cbgrpsList.SelectedIndex = i; - > i来自DataGrid超链接按钮。
cbgrpsList.SelectionChanged + = new SelectionChangedEventHandler(cbgrpsList_SelectionChanged);
有人可以帮忙...
提前致谢,
问候,
Murali。
Hi,
I have Hyperlink button in the DataGrid, and binding with index in it. When I click on Hyperlink in DataGrid it has to select ComboBox item; Based on the selected item in Combo Box I have to load the remaining controls in the page.
When I normally changing selection in Combo Box, the selection changed event is firing but when I coming from Hyperlink, selection changed event is not firing;
cbgrpsList.SelectedIndex = i; --> "i" is from the DataGrid Hyperlink Button.
cbgrpsList.SelectionChanged += new SelectionChangedEventHandler(cbgrpsList_SelectionChanged);
Can somebody help in this...
Thanks in advance,
Regards,
Murali.
推荐答案
这篇关于Silverlight Combobox Selection改变了事件问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!