<%#(Eval("item") == null ? "" : "/"+ Eval("item"))%>
May i use "/ " before data if item is not null.....if item will be null then "/" will not display on UI..?
or there are any other way to use ?
Know the answer? Post it. Somebody with the same question will find it here.


Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ananth GRank #1,176 · 1.5K reputationPosted Nov 9, 2016, 8:08 PM EST