PagodNaUtak
asked on
Change the image of boundfield buttontype="image"
I have the below code, how can I change the default image of the boundfield programmatically?
<columns>
<asp:buttonfield buttontype="Image" commandname="Resume" ImageUrl="http://vmsd3jooc01/sites/applicantmanagement/PublishingImages/icons/attachmenticon.png" />
</columns>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
public virtual string ImageUrl { get; set; }
Just set:
your_object_name.ImageUrl = "yourimagestringgoeshere.j
anywhere in your C# code that has access to that element.
-w00te