" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

How to Generate a Report Header at Runtime when Printing/Exporting a Control using DevExpress XtraPrinting Library in VB.NET

Posted on November 23rd, 2015 by Tapaswini Mohanty

Using XtraPrinting library, we can achieve the following at runtime while Printing/Exporting a Control: add additional information to the report; add a report header; specify a page header or footer; specify the paper size, margins, orientation, etc. For this we have to import two namespaces: Imports System.Drawing Imports DevExpress.XtraPrinting The code below demonstrates how to  […]

DevExpress GridView: How to show Context Menu in the Grid View

Posted on November 23rd, 2015 by Rashmita Devi

While using DevExpress GridView if you need to show a context menu when the user right clicks on the GridView then you have to handle theShowGridMenu event of the GridView.   For example, let’s say I have a GridView as grdvCustomer and I want to show two buttons while the user right clicks on a […]

Disable row selection as well as the whole row in DevExpress gridview, based on the cell value in IE and Firefox.

Posted on November 23rd, 2015 by Tapaswini Mohanty

The following tip demonstrates how to enable or disable a row based upon one of its column value Let us say we want to disable the whole row if OnHand column value of ASPXGridview is 0. 1.by handling ASPXGridview_HtmlRowCreated event of ASPXGridview. Protected Sub ASPXGridview_HtmlRowCreated(ByVal sender As Object, ByVal e As DevExpress.Web.ASPxGridView.ASPxGridViewTableRowEventArgs) Handles ASPXGridview.HtmlRowCreated If […]