Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Error Icon in GridView
Message
De
01/09/2010 10:19:04
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Displaying Error Icon in GridView
Divers
Thread ID:
01479572
Message ID:
01479572
Vues:
84
Hi,

I cannot get an error icon to display when a business rule fails and is associated with a column in a grid view. The GridView column is defined like this:
                                    < ItemTemplate>
                                        < mm:mmLabel ID="lblSumAssured" runat="server" AccessLevel="Full" BindingProperty="Text"
                                            ControlID="00000000-0000-0000-0000-000000000000" IsPostBack="False" SecuritySetup="True"
                                            Text='< %# Bind("SumAssured") % >'></mm:mmLabel>
                                    < /ItemTemplate>
                                    < EditItemTemplate>
                                        < mm:mmTextBox ID="txtRiderSumAssured" runat="server" Width="100%" Text='< %# Bind("SumAssured") % >'
                                            AutoPostBack="true" OnTextChanged="txtRiderSumAssured_TextChanged"></mm:mmTextBox><br />
                                    < /EditItemTemplate>
My rule has this in it:
this.AddErrorProviderBrokenRule("SumAssured", message);
The rule fails, yet no icon shows up in the grid view.

How does one achieve this?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform