devexpress

Client side event that fires after ASPxClientGridView.ApplyFilter performs its work

社会主义新天地 提交于 2020-01-04 14:02:23
问题 This link explains how to handle it on the server side via the ASPxGridView.AfterPerformCallback event: http://www.devexpress.com/Support/Center/p/Q274366.aspx How can I handle it on the client side? I am working on a custom server control and I have this client side function on my control: applyFilterToGridView: function () { this.theGridView.ApplyFilter(this.filterCondition); this.filterAppliedEvent(); } Because ApplyFilter does a callback, this.filterAppliedEvent() is not called at the

c# devexpress piechart series point color change

依然范特西╮ 提交于 2020-01-04 13:50:20
问题 I've made a dynamic 3d piechart using devexpress. I'm really impressed with how good the control feature is. I've hit a little bit of a downer though. I would like my pie chart points to have different colors that I set in code (this will later be changed by the user using some form of pallet or combo box, not sure yet). Unfortunatly I can't seem to get a color method for the points of my data series. Here's the code excluding the mass of commented out attempts: Series series1 = new Series(

Finding a key binding definition in CodeRush

若如初见. 提交于 2020-01-04 13:05:21
问题 If I deployed a Community plugin and set up a key-binding in CodeRush, how do I now find where I filed it in the options dialog / tree hierarchy ? 回答1: Open the CodeRush options screen (Either choose DevExpress \ Options from the menu or hit Ctrl+Shift+Alt+O ) Then locate IDE \ Shortcuts folder in the page hierarchy on the left. Above the shortcut tree, there is a toolbar containing several buttons which are useful in different circumstances. In this case the following 2 options may be of

Devexpress ASPxDateEdit control OnDateChanged event not firing

无人久伴 提交于 2020-01-04 02:09:20
问题 Below is my Markup page code of the ASPxDateEdit control: <dx:ASPxDateEdit ID="txtDateTime" runat="server" Width="100px" EditFormat="Date" AllowNull="true" EditFormatString="dd-MMM-yyyy" MinDate="01-Jan-0001" OnDateChanged="txtDateTime_DateChanged"/> And Here is the code behind of handling the OnDateChanged event protected void txtDateTime_DateChanged(object sender, EventArgs e) { //code on handling onDateChanged event } My problem is that the OnDateChanged event isn't firing, why this case

How can I get a CheckEdit in a NavBarGroup

孤人 提交于 2020-01-04 01:50:16
问题 We need to place a check box (and caption for it) in the header of a NavBarGroup. Is there a way to do this? 回答1: We created a NavBarGroupChecked class (NavBarGroupChecked.cs) that inherits from NavBarGroup and can just be dropped in to replace it. It adds a RepositoryItemCheckEdit member that tracks the checkbox and implements custom draw. It has a Checked property that tells you if it is checked and an event that will be called when the Checked status changes. That's pretty much it. Just

Class inheritance naming

感情迁移 提交于 2020-01-03 19:57:49
问题 I want to inherit the DevExpress ComboBoxEdit control, and am wondering if naming my class the same as the DevExpress class is bad practice. Here's the derived class declaration: using System; using System.Collections.Generic; using System.Text; namespace MyApplication.Components { public class ComboBoxEdit : DevExpress.XtraEditors.ComboBoxEdit { } } Should I rename MyApplication.Components.ComboBoxEdit to something else like MyComboBoxEdit? 回答1: There's must be a reason why you're creating

[原创]Devexpress XtraReports 系列 5 创建交叉报表

佐手、 提交于 2020-01-03 04:47:56
昨天我们已经介绍了如何创建多栏报表,详见: [原创]Devexpress XtraReports 系列 4 创建多栏报表 今天我们继续我们的XtraReports系列。 Demo和数据库文件最后会附上。 今天的主题是:创建交叉报表 什么是交叉报表呢? 官方回答: 交叉表报表 是以交叉表形式呈现信息的报表。 交叉表 (或透视表) 类似于简单的普通数据绑定表格,但是改为在单个表格中呈现多维的分层级的信息,并含有每行和每列的自动排序、计数、合计和累计。 依照惯例,我们先来看看我们最后实现的效果,如图: 案例场景:某公司可能有产品1-12,分别属于产品类别1-3,现在要统计这些产品都被客户订购了多少数量。 开始讲解。 第一步 :窗体布局。 新建一个WinForm窗体,,拉入第三方控件SimpleButton,DocumentViewer,SplitContainerControl,LabelControl,TextEdit,GroupControl,无非就是设置空间Dock属性,还有字体Text属性等,简单布局我就不多阐述了。可以参考我该系列第一篇。 第二步 :创建一个Devexpress XtraReport报表文件。如图: 报表布局步骤如下:(不知道为什么我的设计器是中文的,英文的朋友找到相对应的就行了) a,新建报表头:即是上图中的ReportHeader,在报表空白区右键点击 b

devexpress报表控件的使用

假装没事ソ 提交于 2020-01-03 04:30:57
1 设置默认的打印纸张及页边距 选择Report-打开属性窗口,设置默认边距(Margins)和默认纸张(PaperKind)。 2 修 改 Report Preview 的默认工具栏( WinForm ) 一般情况下,Report 的Preview视图中的工具栏不用修改就可满足使用。但是当想修改或添加新的按钮执行自己的方法时就需要修改Preview工具栏了。 2.1 获取默认工具栏 DevExpress.XtraBars. Bar bar = Report.PrintingSystem.PreviewFormEx.PrintBarManager.Bars[0]; PrintingSystem: 当前Report的默认打印组件,用于提供默认的打印预览对话框和打印功能。 可通过PrintingSystem.PreviewForEx.PrintBarManager获取设置打印预览窗口的工具栏和菜单。 获取DevExpress.XtraBars. Bar 之后就可以添加或删除新的BarItem和Menu。 2.2 添加新的按钮 bar.DockStyle = DevExpress.XtraBars. BarDockStyle .Top; DevExpress.XtraBars. BarButtonItem printItem = new DevExpress.XtraBars.

Devexpress error in adding reports in razor mvc3

雨燕双飞 提交于 2020-01-01 16:57:30
问题 I am trying to use DevExpress reports in my MVC 3 web application "This application is a normal MVC 3 application not a DevExpress MVC 3 application" using the following tutorial for adding XtraReports http://documentation.devexpress.com/#XtraReports/CustomDocument9974 The problem is each time i am trying to add @Html.DevExpress().ReportToolbar(settings => { // The following settings are necessary for a Report Toolbar. settings.Name = "ReportToolbar"; settings.ReportViewerName =

Calculating a ASPxGridview Column in DevExpress

匆匆过客 提交于 2019-12-31 06:57:46
问题 I have a ASPxGridview (Normally 21 column but i just want process 4 column). Every column has a decimal value. MV_EDDIE column is empty. What i want is, calculating programmaticly , MV_EDDIE columns is RISK_EUR - (IPOTEK + MV_BERND) only in GroupSummary and TotalSummary . For example; If RISK_EUR = 100 IPOTEK = 40 MV_BERND = 50 Then MV_EDDIE column should be 100 - (40 + 50) = 10 How can i do that? NOTE : I have a Sql like this SELECT A.HESAP_NO, A.TEKLIF_NO1 || '/' || A.TEKLIF_NO2 AS TEKLIF,