本文介绍了Devexpress combox selectedIndex在Control中更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有Razor devexpress组合框,我希望selectedIndex在Control中更改
。怎么会发生plz帮助我..
Hi ,
I have Razor devexpress combobox and i want selectedIndex Changed in Control
. how it will happen plz help me..
@{
Html.DevExpress().ComboBox(
settings =>
{
settings.Name = "ddlCaller";
settings.Properties.TextField = "Name";
settings.Properties.ValueField = "ID";
settings.Properties.ValueType = typeof(int);
settings.Width = 155;
settings.Properties.IncrementalFilteringMode = DevExpress.Web.ASPxEditors.IncrementalFilteringMode.StartsWith;
settings.Properties.DropDownStyle = DevExpress.Web.ASPxEditors.DropDownStyle.DropDown;
// settings.Properties.ClientSideEvents.SelectedIndexChanged = "function(f ,s){sendParam()}";
}
).BindList(MvcFlowCzar.HelperFunctions.DataProvider.GetContact()).GetHtml();
推荐答案
function(f ,s){sendParam()}
渲染组合框之前
before rendering combobox
这篇关于Devexpress combox selectedIndex在Control中更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!