devexpress

How to pass values to controller from Javascript code in MVC

耗尽温柔 提交于 2019-12-19 04:44:09
问题 Actually I have a scenario like : I am getting the values of checked records in GridView through Javascript. Now i need to send those values to controller for deleting those records. <script type="text/javascript"> $(function OnDelete() { $('#btn_Delete').click(function () { gvPaging.PerformCallback(); }); }); function OnBeginCallback(s, e) { var selectedValues = s.GetSelectedKeysOnPage(); e.customArgs["ID"] = ""; for (var i = 0; i < selectedValues.length; i++) { e.customArgs["ID"] +=

ASPxComboBox - How to set selected item?

强颜欢笑 提交于 2019-12-18 21:22:13
问题 I'm using : ASPxComboBox The problem is how to set selectedValue from code behind ? If my html is like this: <dxe:ASPxComboBox ID="cbxJobType" runat="server" width="200px" MaxLength="50"> <Items> <dxe:ListEditItem Text="Contract" Value="0" /> <dxe:ListEditItem Text="Full Time" Value="1" /> <dxe:ListEditItem Text="Part Time" Value="2" /> </Items> <ValidationSettings ErrorDisplayMode="ImageWithTooltip"> <RequiredField ErrorText="Required Value" IsRequired="True" /> </ValidationSettings> </dxe

2020 WPF开发革命性时代,DevExpress为你护航

我与影子孤独终老i 提交于 2019-12-18 17:12:46
下载DevExpress v19.2完整版 DevExpress v19.2汉化资源获取 通过 DevExpress WPF Controls ,您能创建有着强大互动功能的XAML基础应用程序,这些应用程序专注于当代客户的需求和构建未来新一代支持触摸的解决方案。 又到了每年发布DevExpress WPF产品线2020年非正式计划的时候了,关于DevExpress WPF 2020年您有哪些功能上的期待?欢迎在文章末尾留下您的建议,即将发布的新版可能有您想要拥有的功能哦~ 支持.NET 5 .NET 5计划于2020年11月发布,在此之后WPF产品系列将全面支持.NET 5,同时技术团队将提前几个月为.NET 5构建测试版。 .NET Core 3.0 & 3.1 在v19.2发行版中引入了对.NET Core 3的官方支持,在2020年我们将扩展.NET Core 3设计器的功能,并合并一些可简化应用程序部署的增强功能。 WPF项目模板 Visual Studio的New Project对话框将包含.NET Core的项目模板,基本模板将在v19.2小版本发布中作为次要更新提供。在2020年将使用其他模板扩展此列表,例如依赖注入应用程序。 设计器扩展 由于.NET Core为WPF设计器使用新的表面隔离架构,因此大多数设计器扩展当前仅可用于.NET Framework,团队正在为

NetFx40_LegacySecurityPolicy in design-time mode

孤者浪人 提交于 2019-12-18 14:24:10
问题 Is there any way to make legacy design-time code execute with NetFx40_LegacySecurityPolicy switched on? More specificaly, is there any way to make DevExpress 8.2 winforms designer work in VisualStudio 2010? I got errors due to this issue and found no help about design-time mode, just about run-time: <runtime> <NetFx40_LegacySecurityPolicy enabled="true"/> </runtime> How should I fix problems with winforms designer? 回答1: Just add this <NetFx40_LegacySecurityPolicy enabled="true"/> into your

NetFx40_LegacySecurityPolicy in design-time mode

北战南征 提交于 2019-12-18 14:24:08
问题 Is there any way to make legacy design-time code execute with NetFx40_LegacySecurityPolicy switched on? More specificaly, is there any way to make DevExpress 8.2 winforms designer work in VisualStudio 2010? I got errors due to this issue and found no help about design-time mode, just about run-time: <runtime> <NetFx40_LegacySecurityPolicy enabled="true"/> </runtime> How should I fix problems with winforms designer? 回答1: Just add this <NetFx40_LegacySecurityPolicy enabled="true"/> into your

How to load Google Maps in wpf window?

感情迁移 提交于 2019-12-18 13:37:54
问题 Is it possible to load Google Maps in wpf window? If yes how can i do this? I'm using visual studio-2010 and DevExpress tool. This code i found from DevExpress official site for openstreetmaps. const string roadUrlTemplate = @"http://{subdomain}.tile.openstreetmap.org/{tileLevel}/{tileX}/{tileY}.png"; 回答1: Hope you will find these articles useful: MAPPING IN WPF, SILVERLIGHT AND WP7 WPF Map App: WPF Meets Google Geocoding and Static Maps APIs Google Maps in WPF with WebBrowser and Google Maps

DevExpress MVC GridView - How to get cell click event

风流意气都作罢 提交于 2019-12-18 04:09:17
问题 Using DevExpress's GridView, I would like to trigger a (clientside) event when a cell is selected (or simply clicked on). There already is a way to get the click events for an entire row, but neither fiddling around nor the documentation gives me any clue how to achieve this for cells. This is what I have for rows: Html.DevExpress().GridView(settings => { // removed a lot of code here settings.ClientSideEvents.RowDblClick = "OnGridRowDblClick"; }).Bind(Model).GetHtml() Which will cause the

.Net界面开发必备!DevExpress Blazor UI全新组件助力界面开发

删除回忆录丶 提交于 2019-12-17 20:43:48
行业领先的.NET界面控件DevExpress 正式发布了v19.1版本,DevExpress UI for Blazor/ Razor组件附带7个用户界面组件(包括Data Grid和Pivot Grid),用户可以使用Blazor和Razor组件设计丰富的用户体验。欢迎下载v19.1试用, 点击立即下载>> 根据DevExpress Preview许可,可以免费使用此预览。 Data Grid 一组新的本机Blazor / Razor组件包括功能丰富的Grid控件,功能包括: 数据绑定 编辑 分页 过滤 行选择 预定义的列类型 模板 Pivot Grid Excel-inspired pivot table控件旨在进行多维数据分析和交叉表报告,功能包括: 高性能数据加载 内置的汇总函数(平均值,计数,最大值,最小值和总和) 排序 展开/收起 分页 模板 Data Editors和Pager Data Editors for Blazor / Razor组件包括四个单独的UI控件和一个多功能的pager,这些本机Razor组件可用于独立数据编辑或编辑Data Grid单元格值。 Combo Box Data Edit Spin Edit Text Box Pager =========================================================

How do I raise an event via reflection in .NET/C#?

我与影子孤独终老i 提交于 2019-12-17 04:05:47
问题 I have a third-party editor that basically comprises a textbox and a button (the DevExpress ButtonEdit control). I want to make a particular keystroke ( Alt + Down ) emulate clicking the button. In order to avoid writing this over and over, I want to make a generic KeyUp event handler that will raise the ButtonClick event. Unfortunately, there doesn't seem to be a method in the control that raises the ButtonClick event, so... How do I raise the event from an external function via reflection?

DevExpress WinForms使用教程:Ribbon性能

南笙酒味 提交于 2019-12-17 02:08:27
【 DevExpress WinForms v18.2下载 】 DevExpress XAF团队提供Ribbon新能改进,其中 XAF Office Module 的实际应用程序需要花费很长时间才能加载,导致这种操作是由于populated Ribbon造成的。使用分析工具深入研究示例应用程序进行详细调查发现,其中某些计算不止一次执行,对象创建然后丢弃等。 由于Ribbon是许多应用程序的核心组件,因此在v18.2中设法将低级别性能提高了13%。 为了测量增益,启动了 RibbonSimplePad演示 50次,其平均初始化时间从2080毫秒降至1810毫秒(没有NGen预编译)。 在Ribbon level上去的初步成功后,许多Office控件中实现的机制生成了Ribbon配置。这些实现是Rich Edit,Scheduler,Spreadsheet,PDF和Dashboard套件以及XAF Office Module的一部分。这方面做了几处改进,包括:: 从图像库中检索的图标将被缓存 使用异步加载和其他技术改进了Color和Font编辑器的初始化过程 SvgParser的内部结构经过微调以避免反射 Ribbon项目创建算法已经过重新设计,用于控制命令。如CreateAppointment,OpenDocument等 XAF Office模块代表了“real-world