Click here to Skip to main content
15,890,123 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 Score

DevExpress 

8 Nov 2016 by mblataric
Instructions on how to migrate existing XAF security system to new permission policy.
30 Apr 2015 by ZurdoDev
You want to use parameters so that you don't have sql injection security issues.For example:string insert = "INSERT INTO doctor VALUES (@field1, @field2..."sqlcm.Parameters.AddWithValue("@field1", txtField1.Text);...That will also solve your syntax issue.
29 Feb 2012 by mustafacaglarkara
xtraTabControl...
1 May 2015 by CHill60
You have a column on your table [appointment] which has been defined as IDENTITY but in your code you are attempting to assign an explicit value to it.Don't - the whole point of IDENTITY columns is that the database will generate those values for you.An example:create table...
12 Jan 2011 by JF2015
Hi,if you've installed the Dev Express components, then you should find a lot of examples in their installation folder or in the start menu. I don't have the latest version but there are more than enough well documented examples to get you started. Please try them out and ask us more...
21 Feb 2011 by Sandeep Mewara
By Devex, it sounds(and by tag) that you are talking of Devexpress controls.Look here for proper documentation on how to do it: Localizing DevExpress ASP.NET Controls[^]They have a very good knowldgebase and supprt forum, if needed.
23 Feb 2011 by Espen Harlinn
Hei Joachim!No you don't have to deploy the whole DevExpress package - that would probably not be quite legal.Let's say you use DXBars, you will find the list of assemblies to deploy together with your application under "WPF Controls > Products > DXBars > Product Information >...
14 Nov 2011 by Mehul Harry
Hi Biradar,Could you please contact our support team here and they can help you find a solution for that?http://www.devexpress.com/Support/Center/CreateIssue.aspx?issuetype=Question[^]Thanks!-Mehul
8 Mar 2012 by Sander Rossel
Read the DevExpress documentation:SetRowCellValue Method[^]SetRowCellValue Method (int, string, object)[^]SetRowCellValue Method (int, GridColumn, object)[^]Check out their forums:SetRowCellValue will not update cell[^]SetRowCellValue() doesn't work even though GetRowCellValue()...
4 Jun 2012 by VJ Reddy
Since, this question is tagged with DevExpress, the Popup Control can be used for this purpose.A Demo for this control is available herehttp://demos.devexpress.com/ASPxperienceDemos/PopupControl/Features.aspx[^]On this page select MouseOver from the ComboBox as the PopupAction which is...
4 Jun 2012 by taha bahraminezhad Jooneghani
dev express is based on your packet with cash!!:)you can use jquery for this!Hover[^]Mouseover[^]
31 May 2013 by Karwa_Vivek
You Have not called DataBinding. public void FillGrid(XPCollection collection ) { IList list = new List(); foreach (object item in collection) { list.Add(item); } gridControl1.DataSource =...
5 Nov 2013 by Sampath Lokuge
You can use the Windows Image Acquisition Automation Library for that.Check below mentioned links for more information.WIA.DeviceManager manager = new WIA.DeviceManagerClass();string deviceName = "";foreach(WIA.DeviceInfo info in manager.DeviceInfos){if(info.Type ==...
19 Nov 2013 by thatraja
Check this KBhttps://www.devexpress.com/Support/Center/Question/Details/Q332257[^]And hereafter use DexExpress support[^] for quick response. They have KB, forums, FAQ, training, tutorials, etc., for you.
27 Nov 2013 by OriginalGriff
Numeric values do not have a "number of digits" which they remember. Only when you actually output them as strings to the user or a file can you specific exactly how they are displayed.There are a number of things wrong with your code:decimal temp= 6900 * ( 5 / 100);Is not "345.0000": it is...
15 Dec 2013 by BillWoodruff
Since you paid a lot for a premium Control Suite from DevX, why not ask on their support forums. Also, many full-featured suites offer their own custom serialization and de-serialization facilities: those should be described in the DevX documentation.A quick Google search on...
27 Mar 2014 by BillWoodruff
If you are willing to do the work to create a UserControl, you can combine a ListView, which supports Groups, with a TextBox, for displaying the selected List Item. It's actually pretty easy to do, but, if you are relatively new to C# and Windows Forms, and have no experience with UserControls,...
17 Jul 2014 by OriginalGriff
Simple: setting the DataSource does not immediately load the Grid with data - it signals a DataSourceChanged event[^] to the Grid which causes it to load itself. Since you are inside an event handler, the event is queued for after the current handler finishes.Until then, you can't use the...
20 Aug 2014 by ChauhanAjay
Check this link.Sorting a GridView
4 Nov 2014 by OriginalGriff
Simplest way is to check if the app is already open and set the focus to it if so: A simple way to ensure only one instance is running.[^]Call that from your Main method in your program.cs file:static class Program { /// /// The main entry point for the...
31 May 2017 by AnvilRanger
You are loading over 2.2 millions rows of data from an XML file. I can just imagine the size of those XML files. Let alone loading them into memory and rendering the UI. Like F-ES said think about how a user will look at and use this data. The human eye and mind can only process so much data at...
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...
12 Sep 2019 by Richard MacCutchan
for (int i = 0; i
28 May 2014 by DamithSL
the best place to ask this question is devexpress SUPPORT CENTER [^]try below format "{0:#,##0.00;(#,##0.00)}"
9 Sep 2010 by nmocruz
I solve my problem doing this:1- exlcuding rdlc files2- building the project3- including the files4- build again.
27 Oct 2010 by JF2015
Please ask this question in the Developer Express Forums. http://community.devexpress.com/forums/172.aspx[^]There you will find much more people that have used this control than you will find here.
17 Feb 2011 by priyamtheone
Hi,I have an editable gridview that is bound to a database table tblDevExpressInvoiceItem. The columns of the gridview are LineID, InvoiceNo,ItemID, Quantity, UnitPrice and LineTotal. The editing control of ItemID is a RepositoryItemLookupEdit. The RepositoryItemLookupEdit is bound to the...
9 Mar 2011 by William Winner
How is your Transaction class set up?I would assume it allows for at least one product...is that correct? As inclass Transaction{ private Product _purchasedProduct; public Product PurchasedProduct { get { return this._purchasedProduct; } set ...
9 Mar 2011 by William Winner
to provide a little more help, see here: c# convert number to words[^]
27 Mar 2011 by Sander Rossel
No way helping you like this.Your question is basically "there is an error, please help."Since we cannot see inside your computer or code, nor that of your client, we cannot see what is wrong.The error message is also not giving us anything.I would double check if you really deployed...
3 Apr 2011 by AlexiAnna
You just create installation procedure from Visual Studio (I think but not shure: New Project --> Other Projects --> Setup Application)
6 Apr 2011 by Danang Prakoso
Sorry Guys, Problem,It turned out because i add a refference that i didnt need.Thank You(How to close this ticket?)
21 Apr 2011 by Sandeep Mewara
Though your issue is not quite clear, yet did you tried looking here: DevExpress Web ASPxFileManager Documentation[^]Posting here is fine. Might be someone can help but I had found that specific questions related to 3rd party is answered more quickly and accurately at respective forums:...
28 Apr 2011 by Sandeep Mewara
There are few ways to interact with server side through client side(Javascript):1. XMLHttpRequest[^]2. Callback[^]3. WebService call[^]4. PageMethod[^]
19 May 2011 by User 1138000
Are you using WPF, or Windows Forms? If it is Windows Forms, there is a method in the RichTextBox class, inherited from TextBoxBase, that might do the trick:ScrollToCaret().Take a look at it.
12 Jun 2011 by Sergey Alexandrovich Kryukov
The set of tables with their names and the structure of each table and column, their names, keys, etc. — all those database meta-data structures together is a database schema.Your error is pretty straightforward: you're trying to access a table by its name 'contact', but this table...
10 Sep 2011 by Simon Bang Terkildsen
You should ask this on the DevExpress forum [^] you'll have alot more luck there.As an alternative you can contact DevExpress directly here[^] click "Ask a Question" at the top of the page.
31 Oct 2011 by member60
u can use chart controls for asp .net ,for more information refer:http://www.carlosag.net/Tools/WebChart/[^]
1 Jan 2012 by Abhinav S
If you want to use Javascript, here[^] is a sample article that you can look at.You can also look at integrating validation controls with the gridview at runtime as discussed here[^].
24 Jan 2012 by rup4ru88
try this For i As Integer = 0 To GridControl1.MainView.RowCount - 1 GridControl1.MainView.GetRow(i) Next
26 Jan 2012 by Abhinav S
You might want to check on the devexpress forums and blogs.They have some more information about this.
22 Apr 2012 by Sandeep Mewara
I just think, posting such issues about a 3rd party control at DevExpress Forum would be more useful.Here:DevExpress Forum[^]Try looking here: DevExpress ASP Grid forum[^]Posting here is fine but it might be already discussed there!I had found that specific questions related to 3rd...
22 Apr 2012 by VJ Reddy
Solution 1 by Sandeep Mewara is absolutely correct.The client side functionality of ASPxGridView is provided by ASPxClientGridView as explained hereASPxClientGridView Members[^] If the members given on this page are seen, GetColumnsCount, GetPageCount and GetVisibleRowsOnPage are...
24 May 2012 by Dave Kreskowiak
Ask your question here[^]. After all, they support the controls they made and you paid for them, right?
28 Jul 2012 by Christian Graus
The way to do this is with delegates. You hook up delegates between the two forms, then they can send each other messages based on events.
28 Jul 2012 by Sergey Alexandrovich Kryukov
This is the popular question about form collaboration. The most robust solution is implementation of an appropriate interface in form class and passing the interface reference instead of reference to a "whole instance" of a Form. Please see my past solution for more detail: How to copy all the...
27 Sep 2012 by DJAppleboy
Hi There,I have to implement DevExpress Reporting from VB.NET into C#.When I call the report it gives me the null reference error (object reference not set to an instance of an object). I've converted the code and tried troubleshooting and Googling with no luck...ERROR LIES ON...
12 Feb 2013 by Sandeep Mewara
I just think, for steps/questions/issues about a 3rd party control (here DevExpress), looking at their respective forums would be more helpful.For now, here: DevExpress: Support Forum[^]If needed, look at these too: DevExpress: Online demos[^]DevExpress documentation[^]
28 Feb 2013 by Dave Kreskowiak
Ask your questionin DevExpress' forums. The best source of information on a 3rd party library is the 3rd party that made it.
7 Mar 2013 by Sandeep Mewara
I just think, for steps/questions/issues about a 3rd party control (here DevExpress), looking at their respective forums would be more helpful.For now, here: DevExpress: Support Forum[^]If needed, look at these too: DevExpress: Online demos[^]DevExpress documentation[^]
22 Mar 2013 by Sandeep Mewara
I just think, for steps/questions/issues about a 3rd party control (here DevExpress), looking at their respective forums would be more helpful.For now, here: DevExpress: Support Forum[^]If needed, look at these too: DevExpress: Online demos[^]DevExpress documentation[^]
15 May 2013 by OriginalGriff
The only thing you can do is to use the debugger.Run your code, close your form and when you get the exception, look at the line of code it is complaining about. Use the mouse over to examine all the variables in use on the line, and find which one contains a null value. Then it's just a case...
4 Aug 2013 by Lothar Behrens
Customizing generated code to support phone number formatting
5 Nov 2013 by sankarsan parida
It's been a long time since I've worked in a Windows environment, but I would suggest that you look at using WMI.ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select * from Win32_PnPEntity");ManagementObjectCollection coll = searcher.Get(); foreach (ManagementObject...
25 Apr 2014 by CBadger
I solved it myself :doh:The solution is to use a script for those wondering...WebWindow.CurrentRequestWindow.RegisterClientScript("ShowAlert", @"alert('message here');");
28 Apr 2014 by Sanket Saxena
You have mentioned chart id as ID="WebChartControl4"and in the GroupSeries method you are using "WebChartControl1".Make it WebChartControl4.Hope it helps :)
29 Apr 2014 by ravikhoda
you are very near to the solution. as you did to change the order of the column based on month using list you can do the same using new list for container order. i assume if 1,2,3,4 is your order the code will go like below. List l = new List(new string[] { "1","2","3","4" }); ...
11 May 2014 by Md Nazmoon Noor
Master-Detail[^]Master-Detai...
3 Jun 2014 by Stephen Hewison
When you enable "Request Desktop Site" all the browser does is change the user agent string provided as part of the request header.If you website has a different behaviour when this is enabled it's because your website or its components are designed change behaviour for mobile devices.So...
20 Aug 2014 by ClimerChinna
this link may help youhttp://www.dotnetfox.com/articles/gridview-sorting-example-in-Asp-Net-using-C-Sharp-1082.aspx[^]
7 Oct 2014 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
If you set ShowSelectCheckBox property to ‘true’[^], then it will work.Otherwise you have to manually store the state of CheckBoxes in Session and retrieve them and check accordingly.
13 Oct 2014 by Kushan Randima
e.Info.Object = hitInfo.HitTest.ToString() + hitInfo.RowHandle.ToString() + hitInfo.Column.FieldName;
15 Nov 2014 by DamithSL
You better ask from DevExpress support center regarding issues of paid products. Have you search on previous tickets in DevExpress support forums? Ok, let me find one for you, https://www.devexpress.com/Support/Center/Question/Details/KA18788[^]There are many workaround posted on that...
3 Jan 2016 by Pravin.Bhosale01
One more option.Highcharts | Highcharts Demo[^]This is well implemented, tested and widely used solution.You can plot a graph which will look like a horizontal line without any background. you can add your various points on that row. Look at the various options of graph. Edit...
12 Mar 2016 by OriginalGriff
The way I'd do it is to create a UserControl which either inherits from ProgressBar or encapsulates it. Each time it is created, it is given a "task" to do, and kicks off a BackgroundWorker to do it, with updates coming to the progress bar.Then all you have to do in the form code is create...
13 Mar 2016 by Hiske Bekkering
Another way of doing this, is to use a DataGridView control and to use a custom class that derives DataGridViewTextBoxCell to implement the ProgressBar painting as illustrated below. The DataGridViewProgressColumn class that uses the DataGridViewProgressCell can be added to the Columns...
6 Sep 2016 by David_Wimbley
I'm a bit rusty on my devexpress but in your gridcontrol i think you should be specifying a grid view. From that grid view, in order to get the Id from an Id column you would do.devExpressGridView.GetFocusedRowCellValue("Id")This would assume that your grid's columns contain a column...
7 Sep 2016 by Maciej Los
I've found the following:How to: Implement Hierarchical Data Binding via Child Nodes Selector[^]Tree Generation Algorithm in the Tree List[^]Tree List control's features[^]Display Hierarchical Data - ASP.NET AJAX Tree List Demo | DevExpress[^]If it won't help, come back here and...
9 Dec 2016 by Kevin Marois
This is a REALLY bad idea. 1) It's doubtful you'll ever have enough memory to load that much data.2) There's no way your user us going to scroll through million records.3) it would take FAR too long to load.You should implement some kind of paging and filtering.
9 Dec 2016 by Wendelius
Even if you would manage to show all the records, who would need or go through all the data? You're not probably expecting the user to use all the data.In my honest opinion you should step back and rethink the problem. What information is required and how to show it. Paging is one thing but...
10 Feb 2017 by Ralf Meier
A little more explaining would be useful for your question ...I would do the following :- instead of using 59 seperate Variables (Guc1 ... Guc59) use an Array (Dim Guc(59) as decimal) now you are able to index each Array-Element inside your loop.- are you really sure that each Textbox...
21 Nov 2017 by ZurdoDev
I suggest you change your sql and make it a stored procedure. It will be much easier to write that way. In the stored procedure you can use IF EXISTS (SELECT 1 FROM table WHERE field = @value) BEGIN -- do the update END ELSE BEGIN -- do the insert END Or you can use the MERGE...
25 Mar 2018 by RickZeeland
As you seem to get no answers on the DevExpress MVVM Framework, maybe you will be interested in my opinion on components from vendors that are not open source. In the past I had a lot of trouble upgrading software where old components were used and there was no support or source code for these...
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:...
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...
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...
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 ----- -----...
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...
9 Sep 2010 by kaasee
this is some detail info:my project must use devexpress 8.1.5 ,for some reason, and uses vs2010 rtm .I have changed my machine.config addbut it build fail.my project has some report ,ie. *.rdlc when...
7 Oct 2010 by Pawan Kiran
call dest_select.ShowDialog();in your Form1 dest_button_Click event.
27 Oct 2010 by Danang Prakoso
Dear Coder,Hello Guys, Please, i need some help here.I am developing asp.net web pageI created report using devexpress XtraReport and i saved it in .repx file.I want to show this report on my web page using ReportViewer from devexpress. I get the report from file.It works,...
8 Nov 2010 by burju
Hi, I must do a control. There must be two user or more than and these users will use this program in different computers. So I must control which user is last login and others must logoff. I do this but I want to control is it work true. It can be do with appDomain? Thanx.
9 Nov 2010 by Nicholas Butler
AppDomains are separated areas in one Process, so no: I don't think they will be your solution.If you want to coordinate logins on different machines, you probably want a server that all clients connect to in order to authenticate.
12 Jan 2011 by dilzz
Hi friends,I am doing a project in asp.net and am using vb language.I want to show a chart in my project, so I am using a third party library called DevExpress.I am also a new to this control.So guys, please help me to do this project.I need the vb code to display the chart...
20 Feb 2011 by abhishek.singh.valeteck
Visual Studio does not properly generate the resource file when using the 'Generate Local Resource' tool. I'm using devex controls without any dynamic ID's.The error 'Error HRESULT E_FAIL has been returned from a call to a COM component.' is displayed in the output window and the related...
21 Feb 2011 by abhishek.singh.valeteck
hi,i cannot Localize .aspx pages containg devex controls though the pages with asp controls were localized successfully.Thanks abhi.
23 Feb 2011 by Joachim Bjerke
Thanks for you answer.I have noe tried the clickonce option, but getting error:The Application is improperly formatted.The stack look like this:PLATFORM VERSION INFO Windows : 6.1.7601.65536 (Win32NT) Common Language Runtime : 4.0.30319.1 ...
24 Feb 2011 by Joachim Bjerke
Hi, Thanks for you help. I have now solved my problem. There was some sources I had forgotten to include in the project. But I have now learned alot of the clickonce publsihing, so thank you for your expert help :-D /(Joachim)
28 Feb 2011 by abhishek.singh.valeteck
Fortunately, ASP.NET provides a method in the Page class to override: InitializeCulture(). This method executes very early in the page lifecycle (much before any control is generated), and here we can set the UICulture and Culture of the current thread.Since this method is in the Page class...
27 Mar 2011 by narutouzamaki
I want to print the data grid in the following formatfirst usernameNext AddressNext CityNext PinCodeEg : JohnSmit &nbsp &nbsp &nbsp &nbsp &nbsp Jack Sparrow25,NewStreet &nbsp &nbsp 50,Washington stnew york &nbsp &nbsp &nbsp &nbsp &nbsp ...
27 Mar 2011 by Dave Kreskowiak
This is where using a reporting solution comes in, such as Crystal Reports.
27 Mar 2011 by Dalek Dave
Making it print no matter what happens is not a good practice.It leads to bad programming and kludgy code.Better to have elegant code with bugs than a bad code that works.And don't try to reinvent the wheel, as Dave Kreskowiak says, use existing technology.
27 Mar 2011 by robinson_niit
This is the text I want to copy into XtraRichEdit picture 1But, when I paste it into XtraRichEdit , it likes :piture 2How can I do to copy as the same format of picture 1 into XtraRichEdit
6 Apr 2011 by Danang Prakoso
Please Help me,I developed a program on my development machine, it works fine there.But then when I deploy it to client, I found following error :[^]I have put all necessary dll to application folder, Still get the same...
28 Mar 2011 by _Tushar Patil
you will get some idea from Repeater or ListView Controls where you can group this type of data into one Grid , once you Bind the data in repeater or Listview you can use javasript to print specific page.
3 Apr 2011 by Mostafa Elsadany
hi everyone i useing devexpress tools and i do allow selection single row = true how i can in aspxgridview when user select row get value of columns in this row and add to text box when select ok thanks for any help
3 Apr 2011 by Piccadilly Yum Yum
Processed (Answered) by DevExpress Team at 04/03/2008 21:42:45Hi Emmanuel,You have found an article devoted to the old ASPxGrid and Editors Library Suite. Since you are using the ASPxGridView and Editors Library, you should use another approach.The ASPxGridView provides the...
3 Apr 2011 by dark_eagle
I have a question about devexpress.I'm doing, but I want to do a total of GridView Subtotal,Take the sum of subtotal of 2, that in the cell next to the print sub totale.Examples:NAME Price Part total----- ----- ---- ----- 1 2 2 4 2 5 2...
4 Apr 2011 by Mostafa Elsadany
hi i have content form and inherited from master this content i add table in place holder ok in fisrt row add button and add to client side events this code ASPxPopupControl1.ShowAtElementByID("ASPxButton1");or from properties window both not work in second row add how i...