Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi folks,

How could we add an image from imagesprite for devex button control's <image> tag

Please suggest me..
Posted

1 solution

Like in any HTML environment - via CSS!
http://www.w3schools.com/css/css_image_sprites.asp[^]
 
Share this answer
 
Comments
[no name] 15-Dec-14 6:34am    
but i am using dev ex button control as follows
<dx:ASPxButton ID="btnSave" ClientInstanceName="btnSave" runat="server" Text="Save"
AutoPostBack="false" Height="26px" EnableViewState="false">
<clientsideevents click="function(s, e) { fnSaveAsset(s,e); }">
<Image Url="../Image/Image16x16/Save.png" Height="16px" Width="16px">
</Image>

how could i provide css class here.
[no name] 15-Dec-14 6:35am    
I find some limitations with <image > tag above
Kornfeld Eliyahu Peter 15-Dec-14 6:38am    
I suggest you read this: https://documentation.devexpress.com/#AspNet/CustomDocument7211

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