Hi Nishant,
I'm not sure that Dawid's example will work, because as I know if
statement does't work with binding syntax <%# %>
.
So, if it doesn't work, you can try to use placeholders instead to show some HTML layout by conditions:
<!-- if -->
<asp:PlaceHolder runat="server"
Visible='<%# ValidationHelper.GetInteger(GetSearchValue("ItemID"),-1)>0 %>'>
</asp:PlaceHolder>
<!-- else -->
<asp:PlaceHolder runat="server"
Visible='<%# ValidationHelper.GetInteger(GetSearchValue("ItemID"),-1)<=0 %>'>
</asp:PlaceHolder>
<!-- end -->