Timeline for Checking if a general link is empty within a partial view
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 18, 2019 at 23:44 | comment | added | Levi Wallach | Yeah, I tried something like this already, but it didn't work. Intellisense says that it can't convert from system.web.htmlstring to string and there's a runtime error ( CS1502: The best overloaded method match for 'string.IsNullOrEmpty(string)' has some invalid arguments). Even if I tack on a toString(), it returns true (that the string is empty) regardless of whether there's a link or not. | |
Feb 16, 2019 at 2:01 | history | edited | Dan Sinclair | CC BY-SA 4.0 |
Better formatting
|
Feb 16, 2019 at 1:51 | history | answered | Dan Sinclair | CC BY-SA 4.0 |