Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi I'm using Devexpress SingleChoiceAction in my viewcontroller. i set image using "ImageName" property. But its displayed on Action only i need to apply the same image on drop down list also. i dont know how to set the Image.
Posted
Comments
sencsk 3-Jul-13 6:20am    
foreach (var snapTemplate in list)
{
SIngleCHoiceAc.Items.Add(new ChoiceActionItem(snapTemplate.Name, snapTemplate.Oid) {ImageName = ActionExecuteSnapReport.ImageName});
}

I fix it

1 solution

C#
foreach (var snapTemplate in list)
                {
                    SIngleCHoiceAc.Items.Add(new ChoiceActionItem(snapTemplate.Name, snapTemplate.Oid) {ImageName = ActionExecuteSnapReport.ImageName});
                }

I fix it
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900