devexpress

DevExpress - Xtra Reports: Group Header/Sorting can't use an Aggregate Function

I have to use DevExpress's Xtra Reports which is in a third-part app. I have a group header that displays 'State' but grouped by 'Sum(Payment_Amount)' in descending order of the total and not the name of the state (This is a requirement.). Group Header: State Detail: Each item in this State | Payment_Amount Group Footer: Sum(Payment_...

How to add a weighted average summary to a DevExpress XtraGrid?

The DevExpress Grid (XtraGrid) allows grids and their groups to have summary calculations. The available options are Count, Max, Min, Avg, Sum, None and Custom. Has anyone got some sample code that shows how to calculate a weighted average column, based upon the weightings provided as values in another column? ...

How to replace DevExpress ASP.NET calendar with my own?

We're using DevExpress control toolkit for our ASP.NET application. I would like to replace the DevExpress default dropdown calendar with my own because of the following reasons: DevExpress dropdown calendar gets positioned absolutely next to the textbox it is assigned to. This is bad, because on IE it gets obscured by other relatively...

When upgrading an Assembly, what's the best way to migrate files in Isolated Storage?

I have a .Net 2.0 C# application that occasionally gets updated and the Assembly Version and File Version are incremented. This is all working fine, but it also breaks storing xml settings files in Isolated Storage. (The xml files are generated by DevExpress XtraGridView.SaveLayoutToXml()) Is there a way to copy these files from the old...

Telerik RadControls VS DevExpress DXPerience

I am looking for input from users who have worked with either the Devexpress controls or Telerik controls for ASP.NET They both seem like they would do what i neeed, however opinions from people who have used either one would greatly help me to make this choice. Thanks ...

Graphics.FromHwnd(IntPtr.Zero) returns null, why?

I'm currently investigating a problem with a 3rd party component (DevExpress) in my application. My issue is quite similar to this one DevExpress KB article. I get the same exception with more less the same stacktrace. So I used .NET Reflector to find out, what may be null in this scenario, and the only object which is a candiate to be n...

Does soCaseInsensitive greatly impact performance for a TdxMemIndex on a TdxMemDataset?

I am adding some indexes to my DevExpress TdxMemDataset to improve performance. The TdxMemIndex has SortOptions which include the option for soCaseInsensitive. My data is usually a GUID string, so it is not case sensitive. I am wondering if I am better off just forcing all the data to the same case or if the soCaseInsensitive flag and...

Embedding a hyperlink or button in the appointment label of a SchedulerControl

For quick reference on the principle control I'm working with: What Is An Appointment The client has a very specific, ackward request. Modify the Appointment Label on the DevExpress SchedulerControl so that the user can click or double click on a person's Name and go to their profile instead of the appointment edit form. The subject fi...

Obtain values from current row when databinding

I'm using DevExpress XtraReports in a WinForms application, but could equally apply to other reporting tools. I'd like to perform some logic per-row in the report as it is "rendered", on a row-by-row basis. Specifically I'd like to hide a barcode if the data for the barcode isn't available. Currently I'm doing the following: priv...

DevExpress Microsoft Visual C#

Hi Anybody is familiar with DevExpress in Microsoft Visual C#? My boss gave me the code to study and this code has the version of DevExpress 8.3. And I would like to open this code in my laptop which has already a version of DevExpress 9.1 Would that be a problem finding the files? Thanks a lot! Regards tintincute ...

UserControl inflates when placed on a form?

EDIT > SOLVED: It turns out that I had set all of the UI elements' font properties to be 14pt Arial, but not the usercontrol itself, so when it was drawing it on the form, it was resizing it all. Changing the usercontrol's font size to 14pt Arial, and then repositioning/resizing everything fixed it. I started working on the UI for an ap...

c#: how to force trailing zero in numeric format string?

I need to display float as 1.00 1.50 1.55 1.60 The following is what I see using f2 format. 1. 1.5 1.55 1.6 Is there a way to force the trailing 0 to appear? (I'm using a DevExpress SpinEdit control and trying to set the display and edit format.) ...

Dev Express GridView TemplateControl New Record Popup Popup Blocker by IE

I'm using DevExpress's GridView TemplateControl. It works perfectly with mozilla and opera but when I try to use it with IE it gives me the error that IE add on's is missing when the popup control want to invoke a DropDown control. Why is this occurring and what can I do to resolve it. They (edit: presumably DevExpress staff) a...

Adding a TextEdit to a column to a DevExpress GridView at runtime

I am trying to add a TextEdit to a column on a DevExpress GridView at runtime, this is what I have got (copied pretty much from some auto-generated designer code). DevExpress.XtraEditors.Repository.RepositoryItemTextEdit commentTextEdit = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); gvwEnquiryList.Columns["Com...

ASP.NET GRids and DeveloperExpress ASPx Grid - Hooking up to a webservice

Is it possible to use the asp.net server controls e.g. grid, repeater etc in conjunction with a webservice? I'm wanting to populate the grid from a webservice datasource and then save changes using a webservice. Is it possible to use the DeveloperExpress Grid in conjunction with a webservice? ...

Remove system colors from TcxDBColorCombobox

I have a TcxDBColorCombobox and I want the drop down to not include the system colors like clBtnFace, so it only includes colors like clRed. Additionally I would like it to include clWindow and clWindowText, but I can add those as custom colors if necessary. The process should be the same as for TcxColorCombobox. I am sure I will figu...

Converting dxGrid to cxGrid

I'm converting existing database driven application from D7 to D2009, therefore I won't be able to use dxGrids anymore. Is there any automatic way to convert dxGrid components to cxGrids? If not, what would you suggest me in order to gain time converting them manually? ...

DevExpress - Xtra Reports: VB.NET How to get current page number?

I've searched their site. I just want to find the page number in the vb script. I have a report header, and if it is on page #1 then I want a page break after. ...

Why do I see 'Restricted' in my DevExpress.XtraEditors.DateEdit control

From a customer site we have a screenshot of one of our DevExpress date controls (DateEdit) showing the text 'Restricted' where the date is normally shown, has anybody seen this or know why it might happen. We've been unable to reproduce this in-house, I thought it might be the NullText for the control, but that just sets the control to...

Delphi QuantumGrid GetSelectedRowIndex after sorting

I have D2006 and I am using DevExpress QuantumGrid 6 in a project. I am using it in unbound mode. I have several rows and I need to trigger an action when user select a row and click a button. That works fine when the grid is not sorted by user. I use this code to know the row the user has selected: index := cxMainTable.DataController.G...