---
title: GridErrorArguments
summary: API reference for GridErrorArguments.
status: draft
owner: SAIF Documentation
last_reviewed: 2026-09-17
library: SAIF.Framework.Web.Mvc
reference_type: package
---

# GridErrorArguments

Carries the grid property name and row-id property name captured from a caller's lambda expressions, so `ModelStateExtensions` can normalize a raw model-state key into a grid row identifier without re-parsing expressions on every call.

## Purpose
- Carries the grid property name and row-id property name captured from a caller's lambda expressions, so `ModelStateExtensions` can normalize a raw model-state key into a grid row identifier without re-parsing expressions on every call.

## Context
- Namespace: `SAIF.Web.Mvc`
- Assembly/package: `SAIF.Framework.Web.Mvc (source-shipping NuGet package)`
- Kind: class (generic, TGridRow, TProperty)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| GridName | `public string GridName { get; }` | Name of the grid property on the view model, used as the prefix a model-state key must match to participate in grid-row correlation. |
| RowIdName | `public string RowIdName { get; }` | Name of the row-id property on the grid row type, appended to a normalized key to look up the row identifier in `ModelState`. |

## Sources
- `src/Web.Mvc/Extensions/ModelStateExtensions.cs`
