devexpress

GridView with ObjectDatasource UpdateMethod

半腔热情 提交于 2019-12-05 22:20:53
I have an ASP.NET WebForms page containing an ASPxGridView and an ObjectDataSource : <dx:ASPxGridView ID="gvEmployees" runat="server" AutoGenerateColumns="False" DataSourceID="objDsEmployees" KeyFieldName="EmployeeId"> <Columns> <dx:GridViewCommandColumn VisibleIndex="0"> <EditButton Visible="True" /> </dx:GridViewCommandColumn> <dx:GridViewDataTextColumn FieldName="EmployeeId" VisibleIndex="1" /> <dx:GridViewDataTextColumn FieldName="Name" VisibleIndex="2" /> <dx:GridViewDataTextColumn FieldName="Email" VisibleIndex="3" /> <dx:GridViewDataTextColumn FieldName="Telephone" VisibleIndex="5" /> <

How to Select row using checkedit gridcontrol devexpress? [closed]

☆樱花仙子☆ 提交于 2019-12-05 21:12:58
Closed . This question needs to be more focused . It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed 4 years ago . i have a winfrom using C# in my coding , and i use gridcontrol devexpress 2010 to show data contact list. here is my form after select those list i get the value from gridcontrol that i select and press button OK to get it. I don't know the code. anyone can suggest me,....thanks Niranjan Singh First of all i suggest you to the KB article: How to select rows via an unbound

开发机器上运行正常,部署时抛KERNELBASE.dll异常

一曲冷凌霜 提交于 2019-12-05 20:29:29
我的应用内代码已有完整的异常捕获情况下,仍无法捕获到以下,由于开发机器是正常,所以马上想到是两者机器的系统环境不一致。 由于我应用使用到第三方控件 DevExpress,经检查部署时,漏了部分DevExpress的DLL,补充此类DLL后,应用运行正常。 问题签名: 问题事件名称: APPCRASH 应用程序名: XD.UIAdmin.exe 应用程序版本: 1.0.0.0 应用程序时间戳: 5d6538c5 故障模块名称: KERNELBASE.dll 故障模块版本: 6.1.7601.18015 故障模块时间戳: 50b83c8a 异常代码: e0434352 异常偏移: 0000c41f OS 版本: 6.1.7601.2.1.0.256.48 区域设置 ID: 2052 其他信息 1: 0a9e 其他信息 2: 0a9e372d3b4ad19135b953a78882e789 其他信息 3: 0a9e 其他信息 4: 0a9e372d3b4ad19135b953a78882e789 来源: https://www.cnblogs.com/todayhero/p/11945411.html

C# - DevExpress XtraGrid - Master/Detail - Display Format

会有一股神秘感。 提交于 2019-12-05 19:19:15
Scenario I have a DevExpress XtraGrid. The data displayed is in a master/detail format, whereby clicking the '+' at the start of the row expands the detail for that master row. I have implemented this by binding the grids datasource to a dictionary of objects that contain their own Dictionary property (to hold the detail). Problem What I want to do is format the data in specific columns of the detail. However, I cannot get hold of the column, presumably because it is a sub-element of the master row (and therefore does not get checked?) Below are 2 code examples of the implementations I have

WPF How to bind an enum with descriptions to a combobox

拥有回忆 提交于 2019-12-05 18:31:04
问题 Hi I want to bind an enum with descriptions to a combobox: I got next enum: public enum ReportTemplate { [Description("Top view")] 1, [Description("Section view")] 2 } I tried this: <ObjectDataProvider MethodName="GetValues" ObjectType="{x:Type System:Enum}" x:Key="ReportTemplateEnum"> <ObjectDataProvider.MethodParameters> <x:Type TypeName="Helpers:ReportTemplate" /> </ObjectDataProvider.MethodParameters> </ObjectDataProvider> <Style x:Key="ReportTemplateCombobox" TargetType="dxe

甘特图控件如何自定义绘图?DevExpress Winforms帮你忙

非 Y 不嫁゛ 提交于 2019-12-05 16:42:47
DevExpress Winforms Controls 内置140多个UI控件和库,完美构建流畅、美观且易于使用的应用程序。无论是Office风格的界面,还是分析处理大批量的业务数据,DevExpress WinForms都能轻松胜任。DevExpress广泛应用于ECM企业内容管理、 成本管控、进程监督、生产调度,在企业/政务信息化管理中占据一席重要之地。 【适用范围】:各种桌面、Web应用程序开发,尤其是WinForms应用程序开发。 点击获取DevExpress v19.2完整版试用下载 在日前正式发布的DevExpress v19.2中,DevExpress WinForms Gantt Control已作为社区技术预览(CTP)正式发布!从此版本到将来的v20.1版本,技术团队将改进和扩展此控件,以便您无需编写代码即可提供出色的用户体验!本文将介绍如何利用甘特图控件的CustomDraw事件来模拟与甘特图相关的主要功能。 Custom Draw事件 DevExpress WinForms Gantt控件包含以下Custom Draw事件: CustomDrawTask - 允许您在控件的Diagram区域内手动绘制标准任务、摘要任务和里程碑。 CustomDrawTaskDependency - 使用此事件来自定义任务依赖性(从一个任务栏指向另一个任务栏的箭头)。

How to show prices in the format 0,00(ie for hundred 100,00)

限于喜欢 提交于 2019-12-05 16:17:46
hii, I am using devexpress grid control.In my grid there are price tabs,in that i want the prices column to show in the format 0,00....ie if my price is 3000 then it should show 3.000,00...help me please...It is for winforms and the frontend is c#. The DevExpress controls are rich and complex and there are a number of ways to do this. The simplest is probably to set a column's display format as follows: gridColumn.DisplayFormat.FormatString = "N2"; gridColumn.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; FormatString can be any of the .NET standard or custom format strings

.NET Core 3时代!如何使用DevExpress WPF创建应用

感情迁移 提交于 2019-12-05 14:02:06
DevExpress 广泛应用于ECM企业内容管理、 成本管控、进程监督、生产调度,在企业/政务信息化管理中占据一席重要之地。通过DevExpress WPF Controls,您能创建有着强大互动功能的XAML基础应用程序,这些应用程序专注于当代客户的需求和构建未来新一代支持触摸的解决方案。 无论是Office办公软件的衍伸产品,还是以数据为中心的商业智能产品,都能通过该控件来实现。 DevExpress WPF Controls v19.2下载 本文详细介绍如何将现有的WPF应用程序升级到.NET Core 3(并尽可能轻松地享受Microsoft的新技术)。 前期准备 先决条件 .NET Core 3 SDK Visual Studio 2019 version 16.3(安装.NET桌面开发工作负载) 局限性和可移植性 您的应用程序可能使用.NET Core 3中缺少的某些API,要确定您是否正在使用此类API,请使用 .NET Portability Analyzer 工具。 注意:您应该尝试重构应用程序代码并减少缺少的API调用次数,也许可以找到具有所需功能的替代API。 更新NuGet软件包 检查项目中使用的NuGet软件包是否与.NET Core 3兼容,以及是否有更新(兼容)的版本。 如果您的项目使用旧的软件包版本,请相应地更新项目。即使Visual

【DevExpress v17.2新功能预告】DevExpress ASP.NET Scheduler新的自适应功能

痴心易碎 提交于 2019-12-05 13:58:40
自适应Web设计可以帮助您解决各种尺寸的屏幕问题,网站的自适应网页设计可帮助您解决用户使用不同大小屏幕显示数据的问题。 在v17.2中,我们最大化了ASP.NET Scheduler的视图和可视化元素,以适应其父容器的宽度。以下ASP.NET Scheduler元素现在支持自适应布局: Agenda View Agenda View现在完全自适应。以下的Agenda View元素将自动调整为当前客户端宽度: “Date Header” column “Appointment Interval” column “Main Appointment Content” column “Resources” column 因此,您可以在不同屏幕尺寸上查看没有横向滚动的约会信息: Edit Appointment Form Form Layout Control现在用作Edit Appointment Form编辑器的容器。这允许Scheduler根据可用的客户端区域自动重新组织编辑预约表单内容: View Selector Scheduler的View Selector面板还提供了一个slick功能,当没有足够的空间显示它们时,它会在下拉菜单中放置按钮: Scrolling Fixed Headers 我们还在Agenda视图中改进了(或根据您的视图自定义)垂直滚动。现在 “Date

DevExpress v15.1:ASP.NET MVC功能升级(二)

亡梦爱人 提交于 2019-12-05 11:43:03
<下载最新版DevExpress ASP.NET Controls v15.1.5 > MVC HTML编辑器扩展 占位符(邮件合并) 占位符允许最终用户创建文本模板,这些占位符可以被替换为所需的值(从数据库)。 标签检查器(文档结构路径导航)和所选的标签属性编辑器 新的标签检查器允许最终用户浏览一个标签层次结构、删除标签,并使用标签属性编辑器自定义标签属性。 内容元素过滤 DevExpress HTML编辑器现在允许您过滤内容元素,您可以指定标签、属性和样式属性的过滤规则。 其它: 插入的资源可以使用绝对路径 更新Insert Media对话框 改进上下文菜单 MVC文件管理器扩展 OneDrive® Inspired选择 DevExpress ASP.NET MVC文件管理器允许您通过单击某个项目的复选框来选择或取消选择项目(文件和文件夹)。 路径导航 文件管理器现在可以显示路径导航 - 导航元素允许最终用户在文件夹内跟踪它们的位置。 模板 在文件夹区域显示的文件管理器扩展项(文件和文件夹)的外观可以通过创建特定的模板对其进行修改,模板定义一个元素将如何在客户端浏览器中呈现。ASPxFileManager允许您创建两种视图模式的模板:细节和缩略图。 其它: 文件区域可以显示嵌套的文件夹。 现在,您可以从文件管理器中隐藏上传面板。在这种情况下