Click here to Skip to main content
15,899,937 members
Everything / DevExpress

DevExpress

DevExpress

Great Reads

by mblataric
Instructions on how to migrate existing XAF security system to new permission policy.
by Lothar Behrens
Customizing generated code to support phone number formatting
by Hiren Khirsaria
AgDataGridHeaderMenu
by CBadger
Dynamically check a value for Null value in an expression tree with an extension method

Latest Articles

by mblataric
Instructions on how to migrate existing XAF security system to new permission policy.
by CBadger
Dynamically check a value for Null value in an expression tree with an extension method
by _Asif_
Article will demonstrate how to develop generalize framework for creating Outlook style Auto Refresh Count of Menu Items
by Yves Vaillancourt
Bound model properties to a DevExpress GridView

All Articles

Sort by Updated

DevExpress 

10 Apr 2023 by Behfar Baghovvat
Hi, I have a main form called MainForm I have a received checks form called DepositChequeForm, which is executed inside the MainForm with the help of the DocumentManager control at the time of the call. I have a notification form called...
16 Jan 2023 by Cruz Vince
Is there any way to save the checkmarks in the checkbox of gridview in devexpress? Whenever I close and reopen my application, the checkboxes is left uncheck again. What I have tried: I haven't tried anything yet, just did the MultiSelectMode...
16 Jan 2023 by CHill60
AFAIK there is no way it will "just happen" - but you can put code into to make sure the settings are saved - try one of these articles Codeproject articles on saving settings[^]
16 Nov 2022 by Venila Ice
How to display combobox text area with icon like [(Flag icon)+91 V] What I have tried:
16 Nov 2022 by Graeme_Grant
The best place to ask questions on DevExpress Components is in their Support Forums: Tickets | DevExpress Support[^] DevExpress also has support documentation with examples that answer your question: DxComboBox Class | Blazor |...
5 Nov 2022 by mohamed thrwat
I created a QrCode on my invoice form, then I save this Qrcode as an image in a SQL table. I want to display the image of the Qrcode from SQL table in a Xtrareport. Any idea how to do that? https://i.stack.imgur.com/nl9ac.jpg[^] What I have...
22 Sep 2022 by Venila Ice
i can able to convert and save the word file in the project folder without image pdf but i cannot able to download it from google chrome i asked to devexpress support centre but they replied that they didn't have that facilities What I have...
20 Sep 2022 by khraLiezx
Hello, I have a WinForm application. With this application, I insert the incoming orders detail into the MongoDB database. Some of my data types are Objects and inside the Objects again I have Objects Example of my Data in Database: "Products":...
6 Sep 2022 by Will Sewell
I have a custom row cell style event in my winforms project: private void gridView_Orders_RowCellStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowCellStyleEventArgs e) { DevExpress.XtraGrid.Views.Grid.GridView View =...
6 Sep 2022 by Will Sewell
This gets the cell and not the row if (e.Column.Name == colSupplierOrderNumber.Name) { if (View.GetRowCellValue(e.RowHandle, colSupplierOrderNumber).ToString() != "") { int SupplierOrderNumber =...
30 Jun 2022 by Venila Ice
How to browse folder and save its path(the folder actual location) in a string variable in devexpress blazor or html What I have tried: How to browse folder and save its path(the folder actual location) in a string variable in devexpress...
30 Jun 2022 by Graeme_Grant
DevExpress have their own support forums where you can ask questions on their Components: Tickets | DevExpress Support[^]
16 Jun 2022 by om_sh11
I am using a dateedit in devexpress, and I want to change the numbers in it to Arabic language , so How can I do this ? What I have tried: Please help me to solve this problem
14 Jun 2022 by RickZeeland
Do not use forms inside other forms or controls, instead use UserControls, see: UserControl Class (System.Windows.Forms) | Microsoft Docs[^] Also see answers here: C# how do I load a form inside another form[^] If you really need to put forms...
13 Jun 2022 by om_sh11
I have main form that contain a panel control, then I import another form in this panel. The problem is the imported form appeared in the middle of panel control , so how can I move this form to right (begin from right) ? What I have tried: ...
6 Jun 2022 by Venila Ice
how to convert pdf document to word document in blazor devexpress What I have tried: how to convert pdf document to word document in blazor devexpress
6 Jun 2022 by Sandeep Mewara
Their support forum tells that they don't have right away solution for it. Quote: We do not provide any library that supports the direct conversion from the PDF to Doc or OpenXml (.docx) format. Suggestion is to try the following approach:...
17 May 2022 by Venila Ice
i want to inclue a digital signature in razor page [form] What I have tried: i tried syncfusion but it doesn't working good
16 May 2022 by Graeme_Grant
The documentation from Syncfusion is very good: Getting Started with Blazor Signature Component | Syncfusion[^] I have not seen a DevExpress Signature component. Here are all of their Blazor Components: Blazor: UI Components | DevExpress[^]
8 May 2022 by Will Sewell
I have a button click that attempts to export a DevExpress pivot grid to an excel file however when you open the file in excel or google sheets it zeroes some of the data in the 'Start Time' and 'End Time' cells. Here is the c# code: private...
8 May 2022 by Maciej Los
Check out original documentation: Exporting | WinForms Controls | DevExpress Documentation[^]
11 Jan 2022 by Rain Nature
How to encypt and decrypt a integer value in linq and store it in varbinary(max) in sql please tell me public string GetQCAsync(string UserLimit) { var DSet1 = _context.test.Where(x => x.Uid == 1).FirstOrDefault(); ...
10 Jan 2022 by Rain Nature
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DevExpress.AspNetCore.RichEdit; using DevExpress.AspNetCore; using DevExpress.Web.Mvc.UI; using DevExpress.Blazor.RichEdit; using...
10 Jan 2022 by Richard Deeming
You have declared a function outside of a class. You cannot do that in C# - all code must be within a class. You have also forgotten to provide a method body. namespace TextEditor.Pages { public static class RichEditExtensions { ...
9 Jan 2022 by Sudha Shana
@using DevExpress.Web.Mvc.UI; @using System.Web.Mvc.Html; @using System.IO; @using DevExpress.AspNetCore; @using System.Linq; @using Microsoft.EntityFrameworkCore; @using DevExpress.XtraRichEdit; @using DevExpress.AspNetCore.RichEdit; @using...
9 Jan 2022 by Richard Deeming
You are trying to use code for the MVC5 version of the control[^]. But you've tagged your question as Blazor, which means you're using the ASP.NET Core version of the control. The ASP.NET Core version doesn't accept a delegate as a parameter to...
16 Aug 2021 by Member 14588284
Hi How can i change backcolor of gridcontrol(gridview devekspres) example; dim r=10 datagridview1.rows(r).DefaultCellStyle.backcolor=color.red (datagridview codes not working with gridcontrol(gridview devekspres) What I have tried: i used ...
24 Jun 2021 by Member 15261919
We are facing issues with our Alias domain having been indexed on Google and would like to remove it from Google searches as quickly as possible. Our main domain is available for the public. Since our site uses Cloudflare and Ezoic, we us an...
5 May 2021 by DORA Bilişim Teknolojileri
Hi, There are three types of rows in my grid. If a user select one row, can continue to select same type, not other types. After every selection, I want to calculate summary. Can you please help me? What I have tried: Hi, There are three...
5 May 2021 by Maciej Los
Start here: Summaries | WinForms Controls | DevExpress Documentation[^] Working with Summaries in Code. Custom Summaries | WinForms Controls | DevExpress Documentation[^] WinForms Data Grid - Summaries by Selection (v20.1)[^]
28 Mar 2021 by Golden Basim
I try to translate all reports fields before show it to report designer(from report viewer to report designer). using this class #region #Usings using System; using System.Windows.Forms; using DevExpress.Data; using...
28 Mar 2021 by #realJSOP
If you use the debugger (comes free with Visual Studio), and put a breakpoint at a line of code previous to the one that's throwing the exception, you'll probably be able to see what's wrong. Since we can't do that for you, it's on you. Since ...
25 Dec 2020 by OriginalGriff
We can't help you - not only do we have no idea what your code is doing or how it is doing it, we have no access to your production systems so we couldn't even begin to examine what might be causing it to be slow! So you are going to have to do...
16 Dec 2020 by pwtc222
Hi all, I'm having problem when deploying my web application. My application runs fine in website application, but when i convert to web application project, its showing some errors when i compile. The error shows as - Too many characters in...
20 Nov 2020 by Mahfoud Bouabdallah
I want to show multiple columns in LookupEdit So this is my BusinessObjects The first class is 'Country' public class Country : BaseObject { private string _CountryName; [RuleUniqueValue] [VisibleInListView(true),...
3 Oct 2020 by Gerry Schmitz
How to: Find DataTemplate-Generated Elements - WPF .NET Framework | Microsoft Docs[^] How to: Find ControlTemplate-Generated Elements - WPF .NET Framework | Microsoft Docs[^]
1 Oct 2020 by Member 14953708
Tray this. for (int i = 0; i
1 Oct 2020 by Satyabrat Mohanty
I want to read every row of a devexpress gridviw
10 Aug 2020 by Mohammed Sarhan
after running when click on any element from accordionControl it opens the same form twice although i made only one instance in code ?? What I have tried: using DevExpress.XtraBars; using System; using System.Collections.Generic; using...
10 Aug 2020 by BillWoodruff
Disclaimer: I am not familiar with the DevExpress variety Form used here. 1.Your app is probably creating the first instance of your main form when it runs ... and showing it: that is the standard behavior of a WinForm app. then, you create it...
10 Aug 2020 by OriginalGriff
At a guess, you are adding the accordionControl1.ElementClick handler twice, once in that code and once in the designer. Since events are "chained", if you add the same handler method to the same event twice, then it will be called twice when...
10 Aug 2020 by Mohammed Sarhan
when i tried to handle each item alone, it worked through this code private void ace_CompanyInfo_Click(object sender, EventArgs e) { OpenFormByName("frm_CompanyInfo"); } private void...
30 Jul 2020 by Golden Basim
hi, i search for the best way to print barcode label (designed with XtraReport) multi-times. ex- if i have purchases invoice that contains this items. ----- code ---- name ---- Quantity ----- ----- 1234 ---- item1 ---- 5 ----- -----...
4 Jun 2020 by Maciej Los
Check this out: T156269 - Get row cell value with double-click on a grid row or cell | DevExpress Support[^] More at Google[^]
30 May 2020 by AttaUrRahman
I have two forms. one is Main Entry Form and other is District. In District form I Add district and i want that the District i add in District Table Show in District Combo Box of Main Entry Form. What I have tried: private void...
5 May 2020 by phil.o
This is something you should ask on DevExpress forums, as it concerns one of their products. Tickets | DevExpress Support[^]
6 Apr 2020 by 1878 alianware
how do i add the textbox with automatic identify the sql data type when key in the data to textbox?TQ, because the code i do is, when the gridcontrol(devexpress component) is fill with data, panel5 will fill up the loop of textbox follow by the...
29 Mar 2020 by Maciej Los
Some DevExpress versions are incompatible with VS versions. See: Prerequisites | WinForms Controls | DevExpress Help[^] I'd ask this question on Technical Support and Documentation | DevExpress[^]
29 Mar 2020 by AttaUrRahman
I have Install Devexpress but Devexpress forms are not showing in Visual Studio 2015. what can i do for it. What I have tried: i Google it but not finding a proper way to solve this problem.
12 Mar 2020 by DrgIonuţ
I want to display only a row on my gridview. How to change, from designer or c#, the number of rows to be shown in a gridview? What I have tried: I looked on all settings but I can't figure it out whcih does what I want.
12 Mar 2020 by Richard MacCutchan
A gridview tends to display all the data that you send it. So if you only want a single row displayed, then make sure that your data contains only a single row of items.
21 Feb 2020 by Golden Basim
thanks , i found the the solution .. by setting gridview cell value using gridView1.SetRowCellValue it raise others events such as gridView1_CellValueChanged and gridView1_ValidateRow and others. i checked every event and i get the null...
21 Feb 2020 by Golden Basim
hi, i try to set row cell value but this error appear at this line //select deafult store gridView1.SetRowCellValue(gridView1.FocusedRowHandle, "storeID", BasicVars.DeafulStore); MessageBox appeared an it say : Object...
21 Feb 2020 by Wendelius
The only reliable way to solve the problem is to place a breakpoint to the method and use the debugger to find out what is happening and what are the values of each variable. If not gone through the basic operations, have a look at First look...
3 Jan 2020 by RickZeeland
You need to define a One-to-Many Relationship as shown in the examples here: Relationships Between Objects | eXpress Persistent Objects | DevExpress Documentation[^] Also see: XPCollection Concepts | eXpress Persistent Objects | DevExpress Documentation[^] For WPF applications it is...
3 Jan 2020 by izz moe
Hi I am trying to bind my control to two collections (bind the header of a groupbox to a collection and the content to another associated collection). here is the situation in detail: I have two tables: Employees(empID, EmpName, empDepartmentId) and Departments(depID, depName) I want to bind...
6 Nov 2019 by dsictco
Hi Change row back color in the GridView's RowStyle event like this private void advBandedGridView1_RowStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowStyleEventArgs e) { if (String.IsNullOrWhiteSpace(advBandedGridView1.GetRowCellValue(e.RowHandle,...
6 Nov 2019 by suryawomshi
I have tried a lot to change the row background color Do While i
26 Sep 2019 by PmJN
Hi Team, I am trying to create a chart based on my datagrid. My datagrid contains bound and unbound columns, i have succesfully been apple to display the bound columns in the chart and unfortunately not been able to do the same for the unbound columns. i have read How to create a pie chart...
20 Sep 2019 by Maciej Los
As per documentation[^] chart control accepts only one datasource type of datatable, dataview, etc. So, if you want to bind data to a chart object, you have to re-write bounded and unbounded data from datagridview to any of object which is acceptable as a chart datasource (for example: datatable).
12 Sep 2019 by PmJN
Running total is been miss calculated when i have more than one unbound column to display the running total of certain products. Displaying the running total of a single products, it is perfectly working, but when i add more unbound columns, the results are not not properly calculated. for...
12 Sep 2019 by Richard MacCutchan
for (int i = 0; i
9 Sep 2019 by Dave Kreskowiak
How many controls do you have on the form? The more controls and properties you set on them, the slower the form is going to load. If you've got a hundred controls, expect it to take forever to load.
9 Sep 2019 by Golden Basim
hi, i use DevExpress form with name "Details" , it very slow during loading the interface. it have around 20 sec between last code in public Details() { } and the first line private void Details_Load(object sender, EventArgs e){ } What I have tried: i tried to use breakpoints but...
8 Sep 2019 by izz moe
I need to bind my scheduler to devexpress xpo in WPF the problem is I don't know how to use XPCollection in this case.. 1- I used the wizard to automatically generate a data model from the database 2- I have a scheduler with mappings in XAML 3- In code-behind, this is what I used and I think...
8 Sep 2019 by RickZeeland
Maybe you can use this scheduler control, at least you will have access to the source code: Creating an Outlook Calendar using WPF (Part 1)[^]
24 Aug 2019 by Golden Basim
hi, 1- i created a program using C# , Devexpress , EF and MySQL. 2- i installed it on PC1 using Advanced installer. 3- the program was work fine. 4- After a little while i changed some features and i copied the exe file and languages files to the Program Directory on PC1, this error appeared...
24 Aug 2019 by OriginalGriff
We have no idea - we can't. We don't know your code, we have no idea what it's supposed to do, much less how it does it, and those are likely to be significant. So it's going to be up to you - and since you can;t use a debugger on client computers, you are going to have to do it the Old...
2 Jul 2019 by shashikant.biradar
Hi,I am using Dev Exp Gridview, i waht to display the details in to textbox for selected row from aspxgridview.please help me.............Thanks,Shashikant
22 May 2019 by Member 14324315
private string ClipboardData { get { IDataObject iData = Clipboard.GetDataObject(); if (iData == null) return ''; if (iData.GetDataPresent(DataFormats.Text)) return...
22 May 2019 by OriginalGriff
That code won't even compile, much less paste empty data. private string ClipboardData { get { IDataObject iData = Clipboard.GetDataObject(); if (iData == null) return ''; if (iData.GetDataPresent(DataFormats.Text)) ...
22 May 2019 by Gerry Schmitz
what is this "data"? One cell? More than one? What format? How did it get in the clipboard? Why don't you do it in code (instead of the clipboard), like everyone else. You created an (extra) "middle-man" for nothing.
17 May 2019 by Abuamer
i want to loop through my win form Application to set my security roles on it. i have aribboncontrol1 which has six barbuttunItems .(barbuttunSave,barButtunEdit,barButtunDelete,barButtunNew,barButtunPrint,barButtunExit) i want to make only barbuttunSave and barButtunPrint active(enabled=true)...
17 May 2019 by Gerry Schmitz
foreach (var item in ribbonControl.Items) { if (item is BarButtonItem) { BarButtonItem bbi = item as BarButtonItem; bbi.isEnabled = ( button id bool exp ); } }
15 May 2019 by Golden Basim
hi, i have xtraform (to manage Branch ) that contains some inputs and gridview. after loading the form , i can focus any input (ex:- CodeInput.Text )without any problems. but when i click EditGridbtnREP , the inputs filled with the data. please Note: there are a relation between ad_branches...
15 May 2019 by Gerry Schmitz
Quote: i tried comment the codes one by one but the same issue Keep commenting. You're loading a lot of stuff in the constructor. You say the problem is after the "click": You're also fiddling with the mouse. Lot's of "splashing". Weird way of loading data entry fields (versus syncing to a...
2 May 2019 by Christian Graus
Given you're not using SQL, I would start with a dictionary of a list of items. The key is your group by value. So you build a dictionary of lists, that's your collection of grouped by objects. Then go from there
2 May 2019 by Mahfoud Bouabdallah
I have this code that added items to list private void GetParts(bool AllObjects) { ModelObjectEnumerator ImportModel = null; List parts = new List(); if (AllObjects) { ImportModel =...
16 Apr 2019 by osman06-38
When you enter the data from the form, the data I have done in the usercontrolde do not appear.cannot access gridconrol from form. can you help me.... https://yadi.sk/d/2hWv5g5y2Esfnw What I have tried: When you enter the data from the form, the data I have done in the usercontrolde do not...
15 Apr 2019 by Golden Basim
i try to show xtrareport , this report was binding to SP using Framework, but this error appear during creating document . report.CreateDocument(true); DataRetrievalException: خطأ عند محاولة ملء مصدر البيانات. تم طرح الاستثناء التالي: Ambiguous match found. this line "خطأ عند محاولة ملء...
7 Apr 2019 by Golden Basim
hi, i have a form that contains a Gridview show VIEW result using EntityFramwork Query. how to bind Xtrareport datasource (EntityFramwork) with the previous query so user don't need to reload the data and re enter the parameters value. What I have tried: i use this code to customize EF...
7 Apr 2019 by Gerry Schmitz
... = query.ToList(); Quote: Use the DataSource property to specify a data source for your report. Multiple data source types are supported, including .NET data providers, lists (implementing the System.Collections.IList, System.ComponentModel.ITypedList, or System.ComponentModel.IBindingList...
11 Mar 2019 by Ralf Meier
'frm.Controls' delivers you an Object - not the real control you want to have. So you have to cast it, if the Type matches, into the right Type to get/access the Properties you like to have. Sample-code for this : Label myLabel; if (this.Controls("Label1").GetType == typeof(Label)) ...
10 Mar 2019 by Golden Basim
hi, how to change devexpress control value and proprieties exist in Variable form ( unknown ) using public function in another class .. ex:- i have 3 devexpess controls (label , simple button , ComboBoxEdit), and 5 form that contains this 3 controls (with same names).. also i have another...
16 Feb 2019 by Dave Kreskowiak
Contact DevExpress about it. You got the product from them and are having a problem with it. It's why there is a Support link on their website. You DID get this from DevExpress, correct? If not, you're on your own.
16 Feb 2019 by OriginalGriff
Editing your question to try and get us to help you circumvent legitimate protection will not help. If you have a genuine problem with the trial of your product, talk to the manufacturers - they are the only ones who can help you!
14 Feb 2019 by OriginalGriff
We do not condone, support, or assist in the production of malicious code in any way, form, or manner. This is a professional site for professional developers - most of whom make their wages producing software you don;t want to pay for ... If you want to know how to do such things, you need to...
14 Feb 2019 by TheRealSteveJudge
Nobody here supports illegal activities like cracks etc. We will not help you there!
27 Jan 2019 by Mahfoud Bouabdallah
my DataSource is a stored procedure so I use this code cmbProjectStatus.Properties.DataSource = psProject.GetProjectStatus(); cmbProjectStatus.Properties.DisplayMember = "ProjectStatus"; cmbProjectStatus.Properties.ValueMember = "id"; until this point the...
27 Jan 2019 by Daniel Wosch
I assume that by setting the text property the LoopUpEdit control filters the data by using the text within the text property. See the following in the DevExpress Documentation: LookUpEdit.Text Property | WinForms Controls | DevExpress Help[^] Especially the following:...
7 Jan 2019 by Member 13923035
I want to bind a readonly property to a bool, with TwoWay mode What I have tried: I dont try , because i don't Know the correct way, Can give a detailed help ?
4 Jan 2019 by Maciej Los
I'd suggest to post this question on DevExpress Support Center[^]. They know their products behaviour better than anyone of us.
4 Jan 2019 by Mahfoud Bouabdallah
I have created ribbon form (XtraMain)and I set IsMdiContainer Property to true,i also add documentManager controle i set MdiParent to XtraMain I have add this code to open child forms public void ViewChildForm(XtraForm _form) { if (!IsFormActived(_form)) { ...
3 Dec 2018 by Umapathi K
Using unbound column in Grid on Combo box edit settings. When i select the drop down and move into another row the previous row values are disappearing. while load the grid if any values exists then that value is appearing fine What I have tried: The coding are below, please help ...
17 Nov 2018 by vijay_bale
I created one XtraGrid and added some values with the help of LookUpEdit and some TextBoxes. I want to modify the values what I have added into grid here. I am using getfocusedrowcellvalue to get values from grid into TextBoxes. How can I get that getfocusedrowcellvalue to LookUpEdit? example:-...
4 Nov 2018 by Wessam A Halim
the code work fine when change the report data source from entity to object , thank you all for help
4 Nov 2018 by Wessam A Halim
Dear experts ; i'm work on c# windows application project using entity framework , sql database and devexpress i'm create a report (devexpress report) and open viewer (ReportPrintTool) i try to view the report from search form and filter if view active or not befor view but the report view all...
3 Nov 2018 by Golden Basim
how to get sum of group as : // Get the value of the current cell in the CategoryName column in the master report. int balance =Convert.ToInt32(GetCurrentColumnValue(Sum["stock"])); What I have tried: private void GroupHeader1_BeforePrint(object sender,...
19 Sep 2018 by Gerry Schmitz
"Radio buttons" are usually "mutually exclusive" (assuming they were "grouped" properly to start with). Why do you check "both" when obviously you can infer both when you know one? In other words, why "if else" when "else" is your only option?
27 Aug 2018 by stellus
Hi all,Am new in DevExpress Report wizard in asp.net c#am trying to show the report on my web page using xtrareports.i have done the report design within the xtrareports.but i cannot show the design on my web page.i tried below code to show the report on my web page but am getting...