Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to automatically treat null as '' ?
Message
 
 
To
05/10/2012 18:58:21
General information
Forum:
ASP.NET
Category:
MVC
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01554434
Message ID:
01554459
Views:
48
>Try the DisplayFormat attribute with NullDisplayText set to an empty string: http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.displayformatattribute.aspx

I still have null displayed in IE. FireFox displays nothing and Google Chrome displays nothing - weird.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform