CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Custom Error Message - Grid

Print topic Send  topic

Author Message
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!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.