[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

gridview

Posted on 2011-10-31
1
Medium Priority
?
310 Views
Last Modified: 2012-06-27
hey guys how can i hide an image in a gridview ?

<ItemTemplate>
          <asp:ImageButton ID="imghttp" runat="server" ImageUrl="images/www.jpg" Style="vertical-align: middle" Width="20" Height="20" CommandArgument='<%# Eval("website") %>' OnCommand="imghttp_Command" />
</ItemTemplate>

if '<%# Eval("website") %>'  ==""
the image must be visable set to True or false
0
Comment
Question by:JCWEBHOST
1 Comment
 
LVL 7

Accepted Solution

by:
kovilpattiBalu earned 2000 total points
ID: 37056853
create an empty Image and assign it..
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month18 days, 22 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question