问题标签 [xaf]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
devexpress - 在 XAF DevExpress 项目中,如果我修改 *.bo.designer.cs 类会怎样
是 WindowsForm 上的 XAF DevExpress 项目,我们只创建类/BussinesLogic,其余的由框架完成(UI、dataAccess)。
我是该项目的新手(也是 XAF DevExpress),我看到我的队友修改了 *.bo.designer.cs 类,但这些类有下一个注释:
他们已经这样做了一段时间。
我们做错了吗?
什么时候重新生成代码?
提前致谢。
c# - 如何确保每个选定的单元格具有相同的值?
我正在使用 DevExpress XAF。我有一个列表视图。在列表视图中,用户可以选择多行。我需要确保特定列/属性的所有单元格都保持相同的值。否则我需要抛出一个异常。
因此,例如,如果用户选择 3 行,我需要确保 Trucker 列中的 3 个值相同。到目前为止,这是我的代码:
c# - DevExpress XAF ChartList 日期时间格式
我正在努力使用 DevExpress XAF ChartList,我需要为 AxisX 提供格式化 DateTime 格式。目前,它的格式为“dd/MM/yyy”,但我需要“dd/MM/yyyy HH:mm:ss”。图表设置向导没有提供这样的选项,在 DevExpress 文档中我找不到这样的解决方案。有没有办法在 AxisX 中格式化 DateTime?
PS有没有什么通用的方法可以根据需要在轴上格式化数据?
预先感谢。
windows - howto create a devexpress GanttView like MsProject, with auto layout of dependencies
I really need help for creating a DevExpress XAF Windows application having a GanttView with special abilities including;
- auto arranging of dependent appointments
- resizing on holidays/not working times
- hiding holidays/not working times, showing only working time intervals
please help, thanks in advance.
c# - How are treated nonpersistent data in DevExpress XAF?
I need to create some queries and these queries will be used to create graphs in a dashboard. The queries are a lot of calculations and are nonpersistent classes.
First I created the class and only about this I have HPerformance_ListView and HPerformance_DetailView but I don't have a data provider to populate it. The system tries to populate it from EF context, that is not possible.
And the query class
In the dashboard controller this is the code that I don't know how to handle. My example doesn't work
HPerformance
is a dashboard item and is connected to HPerformance
class (1st code). How do I setup HPerformance_ListView
to be populated by _hPerformance()
method?
Thanks, Marco Castro
winforms - 如何在没有 app.config devexpress 的情况下更改设置?
我需要app.config根据用户控件自动设置数据库信息。通常,我们在app.config中设置数据库信息。但是当标准用户运行这个程序时,它必须在一个界面上登录数据库设置。所以,他们应该输入他们的数据库信息。不在 app.config 中。我该怎么做?
devexpress - Devexpress XAF 类属性数据源过滤
我声明了一个像这样的类
问题是,此字段显示为下拉列表,但我无法控制此列表,我无法过滤或自定义此列表。它始终以所有程序集中的所有可访问类型打开。DataSourceProperty 和 DataSourceCriteria 属性都不起作用。
我可以用其他持久类来做到这一点,但我不能用“类型”类型的字段来做。
如果有解决方法,请提供帮助。提前致谢。
c# - 无法隐式转换类型“DevExpress.Xpo.XPCollection”
我正在尝试创建一个返回 XPcollection 的过程,如下所示:
但我收到以下错误:
autocomplete - Devexpress XAF。如何将自动完成应用于字符串字段?
我有课
当用户尝试在 Web GUI 中填充属性“PlaceOfBirth”时,我想帮助他进行标准自动完成(如http://jqueryui.com/autocomplete/或相同)。自动完成的数据源是“PlaceOfBirth”(不同)的所有值。
我已经尝试了很多案例,但没有成功。可能吗?
PS:现在我使用这个建议https://documentation.devexpress.com/#Xaf/CustomDocument3116但它不适合大型收藏:(
performance - 具有自定义角色的应用程序性能缓慢。DevExpress eXpressAppFramework(XAF)
我有一个具有中间层架构的应用程序。.net 框架 4.0 和 devexpress 版本 13.2.8。
我正在创建一个新角色并将其分配给用户,当该用户登录时,登录大约需要 20 到 60 秒。但是,如果其他具有管理员角色的用户登录则需要 1 秒。这种行为在 Listview、查找对象等其他功能中也很常见。
您能否向我们指出一些信息以查看有关此主题的信息。