コード例 #1
0
        private void ConfigureClientSideEvents(ASPxComboBox comboBox)
        {
            var displayText = _helper.GetDisplayText(PropertyValue, NullText, DisplayFormat);
            var objectKey   = _helper.GetObjectKey(PropertyValue);

            comboBox.ClientSideEvents.Init = $"function(s,e){{EditorInit(s,'{_helper.LookupListViewModel.Id}','{_parentView.Id}','{_clientStorage}','{displayText}','{objectKey}');}}";
        }
コード例 #2
0
 protected override string GetPropertyDisplayValue()
 {
     return(helper.GetDisplayText(MemberInfo.GetValue(CurrentObject), EmptyValue, DisplayFormat));
 }