This is a migrated thread and some comments may be shown as answers.

How to check a Picture cell value ?

3 Answers 27 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Filleau
Top achievements
Rank 1
Filleau asked on 12 Aug 2011, 03:45 PM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 16 Aug 2011, 03:03 PM
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 >>

0
Filleau
Top achievements
Rank 1
answered on 16 Aug 2011, 07:14 PM
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
0
Stefan
Telerik team
answered on 19 Aug 2011, 08:54 AM
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 >>

Tags
GridView
Asked by
Filleau
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Filleau
Top achievements
Rank 1
Share this question
or