HOME PAGE | DOWNLOAD | TUTORIALS | XtraReports
Devexpress
Showing posts with label DevExpress. Show all posts
Showing posts with label DevExpress. Show all posts

Sunday, July 22, 2012

How to: Validate Modified Rows

Assume that a Grid View contains two columns: "Units In Stock" and "Units On Order". A value in the first column must be more than the value of the second one. So we need to perform validation of a row when it is about to be saved to the data source. For this purpose, the ColumnView.ValidateRow event is handled.
If row fails validation, we set errors for the columns with coresponding descriptions using the ColumnView.SetColumnError method. The descriptions will be displayed when hovering over error icons.
The ColumnView.InvalidRowException event is handled in order to suppress displaying the default error message box.
The following screenshot shows a Grid View after a row fails validation.

C#
using DevExpress.XtraGrid.Views.Base;
using DevExpress.XtraGrid.Columns;
using DevExpress.XtraEditors.Controls;

private void gridView1_ValidateRow(object sender,
DevExpress.XtraGrid.Views.Base.ValidateRowEventArgs e) {
    GridView view = sender as GridView;
    GridColumn inStockCol = view.Columns["UnitsInStock"];
    GridColumn onOrderCol = view.Columns["UnitsOnOrder"];
    //Get the value of the first column
    Int16 inSt = (Int16)view.GetRowCellValue(e.RowHandle, inStockCol);
    //Get the value of the second column
    Int16 onOrd = (Int16)view.GetRowCellValue(e.RowHandle, onOrderCol);
    //Validity criterion
    if (inSt < onOrd) {
        e.Valid = false;
        //Set errors with specific descriptions for the columns
        view.SetColumnError(inStockCol, "The value must be greater than Units On Order");
        view.SetColumnError(onOrderCol, "The value must be less than Units In Stock");
    }
}

private void gridView1_InvalidRowException(object sender,
DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e) {
    //Suppress displaying the error message box
    e.ExceptionMode = ExceptionMode.NoAction;
}

VB
Imports DevExpress.XtraGrid.Views.Base
Imports DevExpress.XtraGrid.Columns
Imports DevExpress.XtraEditors.Controls
 
Private Sub GridView1_ValidateRow(ByVal sender As Object, _
ByVal e As DevExpress.XtraGrid.Views.Base.ValidateRowEventArgs) _
Handles GridView1.ValidateRow
    Dim view As GridView = CType(sender, GridView)
    Dim inStockCol As GridColumn = View.Columns("UnitsInStock")
    Dim onOrderCol As GridColumn = View.Columns("UnitsOnOrder")
    'Get the value of the first column
    Dim inSt As Int16 = CType(view.GetRowCellValue(e.RowHandle, UnitsInStock), Int16)
    'Get the value of the second column
    Dim onOrd As Int16 = CType(view.GetRowCellValue(e.RowHandle, UnitsOnOrder), Int16)
    'Validity criterion
    If inSt < onOrd Then
        e.Valid = False
        'Set errors with specific descriptions for the columns
        View.SetColumnError(inStockCol, "The value must be greater than Units On Order")
        View.SetColumnError(onOrderCol, "The value must be less than Units In Stock")
    End If
End Sub
 
Private Sub GridView1_InvalidRowException(ByVal sender As Object, _
ByVal e As DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs) _
Handles GridView1.InvalidRowException
    'Suppress displaying the error message box
    e.ExceptionMode = ExceptionMode.NoAction
End Sub
 

Enhanced by Zemanta

Wednesday, July 18, 2012

DevExpress DXperience 2012.1.5

After more than 30 releases in 180 countries, the next big thing for developers is here. We call it DXv2. Continuing the bridge from your technology position to where you want to be and taking a bold step into the future. DXperience 11.2 is the first instance of the DXv2 wave.

After more than 30 releases in 180 countries, the next big thing for developers is here. We call it DXv2. Continuing the bridge from your technology position to where you want to be and taking a bold step into the

Touch-Enabled
Bring your software to life with intelligent touch-based applications. Use your existing development skills to tap into the growing demand for stunning tablet & touch-enabled apps across all platforms, including WinForms, WPF and ASP.NET. Build for today as you begin to re-imagine business applications for the Windows 8 Metro design aesthetic. DXv2 delivers the gestures, themes, and controls to put Touch within your reach, right now.
Visually Stunning
Today’s customers want smart, beautiful apps in every part of their lives, from work to home. Now, with the tools from DevExpress, you can build them better than ever. Apply sophisticated themes, create your own, and even integrate your corporate brand. Incorporate elegant office-inspired or business intelligence dashboard controls into your design so your users can view and manipulate data in more insightful and compelling ways. And do it all on the platforms you know best. DXv2 delivers the tools you need to inspire and be inspired by application design.
Productivity + Creativity
Never sacrifice one for the other again. CodeRush helps you build and manage your complex code base allowing more time to focus on your business logic. Fewer keystrokes and clicks on the way to quickly building gorgeous, high-performance apps. The eXpressApp Framework (XAF) delivers a powerful, modular application framework that helps you bring robust enterprise applications to market, faster. These are the developer tools you expect from the company you know and trust. This is DXv2—designed to help you use your time, skills, and creativity for what truly matters.
 Download Crack:
- v7.2.2
- v8.3.4
- v9.1.3
- v10.1.5
- v10.1.6
- v10.2.4
- v10.2.6
- v10.2.8
- v11.1.4
- v11.1.6
- v11.1.8
- V11.2.7
- v11.2.11
- v12.1.4
- v12.1.5

Download More: http://download.nguyenlong-computer.com/
Enhanced by Zemanta

Saturday, July 14, 2012

Devexpress DXperience 8.3.4 [Patched]

After more than 30 releases in 180 countries, the next big thing for developers is here. We call it DXv2. Continuing the bridge from your technology position to where you want to be and taking a bold step into the future. DXperience 11.2 is the first instance of the DXv2 wave.

After more than 30 releases in 180 countries, the next big thing for developers is here. We call it DXv2. Continuing the bridge from your technology position to where you want to be and taking a bold step into the

Touch-Enabled
Bring your software to life with intelligent touch-based applications. Use your existing development skills to tap into the growing demand for stunning tablet & touch-enabled apps across all platforms, including WinForms, WPF and ASP.NET. Build for today as you begin to re-imagine business applications for the Windows 8 Metro design aesthetic. DXv2 delivers the gestures, themes, and controls to put Touch within your reach, right now.
Visually Stunning
Today’s customers want smart, beautiful apps in every part of their lives, from work to home. Now, with the tools from DevExpress, you can build them better than ever. Apply sophisticated themes, create your own, and even integrate your corporate brand. Incorporate elegant office-inspired or business intelligence dashboard controls into your design so your users can view and manipulate data in more insightful and compelling ways. And do it all on the platforms you know best. DXv2 delivers the tools you need to inspire and be inspired by application design.
Productivity + Creativity
Never sacrifice one for the other again. CodeRush helps you build and manage your complex code base allowing more time to focus on your business logic. Fewer keystrokes and clicks on the way to quickly building gorgeous, high-performance apps. The eXpressApp Framework (XAF) delivers a powerful, modular application framework that helps you bring robust enterprise applications to market, faster. These are the developer tools you expect from the company you know and trust. This is DXv2—designed to help you use your time, skills, and creativity for what truly matters.
 Download:
- v7.2.2
- v8.3.4
- v9.1.3
- v10.1.5
- v10.1.6
- v10.2.4
- v10.2.6
- v10.2.8
- v11.1.4
- v11.1.6
- v11.1.8
- V11.2.7
- v11.2.11
- v12.1.4


DX8.3.4.part1.rar
DX8.3.4.part2.rar
DX8.3.4.part3.rar
Download More: http://download.nguyenlong-computer.com/

Devexpress DXperience 7.2.2 [Patched]

After more than 30 releases in 180 countries, the next big thing for developers is here. We call it DXv2. Continuing the bridge from your technology position to where you want to be and taking a bold step into the future. DXperience 11.2 is the first instance of the DXv2 wave.

After more than 30 releases in 180 countries, the next big thing for developers is here. We call it DXv2. Continuing the bridge from your technology position to where you want to be and taking a bold step into the

Touch-Enabled
Bring your software to life with intelligent touch-based applications. Use your existing development skills to tap into the growing demand for stunning tablet & touch-enabled apps across all platforms, including WinForms, WPF and ASP.NET. Build for today as you begin to re-imagine business applications for the Windows 8 Metro design aesthetic. DXv2 delivers the gestures, themes, and controls to put Touch within your reach, right now.
Visually Stunning
Today’s customers want smart, beautiful apps in every part of their lives, from work to home. Now, with the tools from DevExpress, you can build them better than ever. Apply sophisticated themes, create your own, and even integrate your corporate brand. Incorporate elegant office-inspired or business intelligence dashboard controls into your design so your users can view and manipulate data in more insightful and compelling ways. And do it all on the platforms you know best. DXv2 delivers the tools you need to inspire and be inspired by application design.
Productivity + Creativity
Never sacrifice one for the other again. CodeRush helps you build and manage your complex code base allowing more time to focus on your business logic. Fewer keystrokes and clicks on the way to quickly building gorgeous, high-performance apps. The eXpressApp Framework (XAF) delivers a powerful, modular application framework that helps you bring robust enterprise applications to market, faster. These are the developer tools you expect from the company you know and trust. This is DXv2—designed to help you use your time, skills, and creativity for what truly matters.
 Download:
- v7.2.2
- v8.3.4
- v9.1.3
- v10.1.5
- v10.1.6
- v10.2.4
- v10.2.6
- v10.2.8
- v11.1.4
- v11.1.6
- v11.1.8
- V11.2.7
- v11.2.11
- v12.1.4

Download More: http://download.nguyenlong-computer.com/
Enhanced by Zemanta

DevExpress Universal Patch v5.1 Metro Edition

.
This patch brakes licensing mechanism of DevExpress products (both components and IDE tools). It works in memory at design time. In this version of patch no assemblies changes.
This patch is provided AS IS, no warranties, use it for your own risk. Use it for research purpose only. If you like DevExpress products you should buy them.
If you have installed my previous patch or any other patches you should uninstall them before using this one.


NEW FEATURES
·You can check patch status within Visual Studio directly. To check the patching status of your projects click ‘DevExpress Patch Status’ in ‘Tools’ menu of VS. The status will be printed in Output window, this window will be shown automatically. If this menu item not visible check that add-in exist in Add-in manager window, close Visual Studio, open Visual Studio Command Promt and type “devenv /resetaddin DevExpress.Patch.VSConnect” (without quotes).
·Visual Studio 11 support (experimental).
·There are no need to run VS with administrative privileges now.

FAQ
Q: Witch versions of DevExpress products this patch support?
A: It supports all existing 2009.X.X – 2011.X.X versions.
Q: What kinds of DevExpress products this patch support?
A: It supports all kinds of DevExpress products.
Q: Will it works with new DevExpress releases?
A: Maybe. After installing new version of DevExpress products run this patch, go to License Manager and click Apply button.
Q: When I build my existing project it shows nag screen at runtime or errors when building. What’s wrong?
A: Delete “licenses.licx” file from your project and then open all visual designers of your project in Visual Studio and then rebuild it.
Q: Whether additional actions to run my application at the client machine are required?
A: No.
Q: Patch is not working for projects in source control.
A: Check if ‘licenses.licx’ file is writable in your project. Execute “check-out for edit” command to make it writeable.
Q: Patch was installed without any errors, but it’s not working for me.
A: Check for a patch status and ask me for help.



or



Other Version:
- v7.2.2
- v8.3.4
- v9.1.3
- v10.1.5
- v10.1.6
- v10.2.4
- v10.2.6
- v10.2.8
- v11.1.4
- v11.1.6
- v11.1.8
- V11.2.7
- v11.2.11
- v12.1.4

Download More: http://download.nguyenlong-computer.com/
Enhanced by Zemanta