Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7567489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:40:34+00:00 2026-05-30T14:40:34+00:00

How can I conditionally put an image into a cell on my ASPxGridView. For

  • 0

How can I conditionally put an image into a cell on my ASPxGridView. For example; if Column1 is above 1000 I would like to see ‘above.png’ on Column2, if below 1000 i want to see ‘below.png’ on Column2.

Here is the markup for my ASPXGridView:

<dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" KeyFieldName="pkCalisan" Width="100%" > 
    <Columns> 
        <dx:GridViewDataTextColumn 
            FieldName="ID" 
            ReadOnly="True" 
            VisibleIndex="0"> 
                <EditFormSettings Visible="False" /> 
        </dx:GridViewDataTextColumn>     
        <dx:GridViewDataTextColumn FieldName="Price" VisibleIndex="1"></dx:GridViewDataTextColumn> 
        <dx:GridViewDataImageColumn VisibleIndex="2"></dx:GridViewDataImageColumn> 
    </Columns> 
</dx:ASPxGridView>

Thanks..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T14:40:35+00:00Added an answer on May 30, 2026 at 2:40 pm

    Define a custom image control inside the column’s DataItemTemplate and manage the image’s properties (visibility or image URL) at runtime.

    See the E2270 Example that illustrates how to manage the hyperlink’s properties in a similar scenario.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Why can't the conditional operator be used as a statement? I would like to
I would like to extend ASP.NET MVC's TextBox so it conditionally switches its CSS
Can anyone tell me how I can display a status message like 12 seconds
I'm trying to use <c:if> to conditionally put a <h:outputLink> inside a <h:dataTable> when
I am trying to make a system where user can only see articles that
I'm currently building a matrix style report. After each rowgroup, i would like to
I am trying to learn about all possible conditionals that can be used on
For conditional validation in Rails, I can do this: mailed_or_faxed_agenda = Proc.new { |me|
Can somebody point me to a resource that explains how to go about having
Can anyone (maybe an XSL-fan?) help me find any advantages with handling presentation of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.