Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web form error message in wrong place
Message
De
26/08/2011 12:33:03
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 4.0
OS:
Windows Server 2003
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01521838
Message ID:
01521916
Vues:
18
>>>I got my data binding working. I just had to spend the afternoon undoing all the things I was trying to do. Now I have a problem with the error message displaying in the wrong place -- or at least a place I don't want it. I think it's because my user wants a row of buttons across the top so I built a separate table for that row of buttons. Is there something I can do to tell the error message where to display? Thanks.
>>
>>Which error message are you referring to? Where is it displaying and where do you want it?
>>Timothy
>It's a broken rule error for which there is not currently a bound field. It is writing the error message on top of other entry fields. I suspect that it is trying to put it on the first line after the first table. The problem is that I have an extra table before the data entry table because the client wants the buttons for other screens to go across the top. That's just a guess, of course, but it did move when I tried making that first table the top row of hte data entry table. It was not pretty.

I am not real big on using tables in asp.net for layout but it does help to contain the error icons. You could make a test form and experiment with using other layout methods and how to contain the error messages.
Timothy
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform