Quantcast
Channel: ActiveTopics
Viewing all articles
Browse latest Browse all 72689

Check if Multiple TextString is Empty

$
0
0

Hi,

Can someone point out why checking for Empty TextString is not working ?

I have a multiple Text String on a document Type and running some check to see if its empty not to display a Div Container.

Both are working for me 

if(Model.HasProperty("test") && Model.HasValue("test")){}
if(Model.HasProperty("test") && Model.GetProperty("test").Value != String.Empty){}

//fuji


Viewing all articles
Browse latest Browse all 72689