dpeterson
Posts: 13
|
Posted: 01/29/2009, 5:37 AM |
|
I'm working with CC version 4.0 and with ASP.NET 1.1
What I want to do is create a custom error message, which is being outputted on the "On Validate" event for an Editable Grid.
When I use
errors.Add("ControlName", "Error Message")
for a Record it works. However, this code gives an error at compile time for Editable Grids. I researched the boards and found that using:
items(0).errors.Add("ControlName", "Error Message")
works, but it hides all of the other rows. I don't want the error message to occur at the row level, rather, I would like it to display at the top of the Grid. Clearing out the "ControlName" to be "" does not work either (for either method).
I've tried
GridNameErrors.Add("", "ErrorMessage")
That compiles, but nothing displays.
Could anyone provide me with the proper syntax that would display a Global Editable Grid Error?
Thanks!
|
|
|
|