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 […]
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 […]
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 […]