aspnet-devexpress-dot-web-dot-aspxgridlookup.md
Provides access to an embedded ASPxGridView object.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public ASPxGridView GridView { get; }
Public ReadOnly Property GridView As ASPxGridView
| Type | Description |
|---|---|
| ASPxGridView |
An ASPxGridView object that is an embedded grid.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GridView property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
protected void GetSelectionButton_Click(object sender, EventArgs e) {
ASPxGridView grid = ASPxGridLookup1.GridView;
object value = grid.GetRowValues(grid.FocusedRowIndex, new string[] { "ProductName" });
Protected Sub GetSelectionButton_Click(ByVal sender As Object, ByVal e As EventArgs)
Dim grid As ASPxGridView = ASPxGridLookup1.GridView
Dim value As Object = grid.GetRowValues(grid.FocusedRowIndex, New String() {"ProductName"})
See Also