dynamic display of a control depending on condition
Dear friends!
I have following problem.
I have one data list in which there is one image and one label.
Now I have two conditions and depending upon which i have to perform two different operatoins on this datalist.
Like say in one condition i have to open one pop up onclick of this Image
and in another condition i want to just redirect to other page onclick of this image.
so at runtime i have to decide and depending upon the result i have to carry out two different operations on this image.
My problem is not how to decide.I have a criteria to decide this, but how to show this at runtime to this image on the front end?
please help..
regards..
kash