How to check a Picture cell value ?

4 posts, 1 answers
  1. Filleau
    Filleau avatar
    114 posts
    Member since:
    Jun 2006

    Posted 12 Aug 2011 Link to this post

    Hi,

    I have a radgrid with a picture column.

    I put the picture like this :

    Rows(0).Item("L")=ImageList2.Images("Locked.png")

    It is OK, but now I need to make a test on this cell.

    Something like this

    If Rows(0).Item("L")=ImageList2.Images("Locked.png") then
       '
    end if

    How can I do this ?

    Thanks
  2. Answer
    Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 16 Aug 2011 Link to this post

    Hello Filleau,

    Thank you for writing.

    Considering the syntax that you have demonstrated I assume that your question is not related to RadGridView for WinForms, since rows in RadGridView does contain Cells and not Items. However, your question does not seem to be related to any controls suite. It is rather a question regarding image comparing. Here is a link in MSDN regarding this topic, which I believe will help you.

    Should you have any other questions, do not hesitate to contact us.
     
    All the best,
    Stefan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Filleau
    Filleau avatar
    114 posts
    Member since:
    Jun 2006

    Posted 16 Aug 2011 Link to this post

    Hello
    Thanks for your link. It is what I need and excuse me for question. It would be the same for a cell...
    Regards
    Anthony
  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 19 Aug 2011 Link to this post

    Hi Anthony,

    I am glad that I could help. Should you have any other questions, do not hesitate to contact us.
     
    All the best,
    Stefan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top