set image on left and right of the command button with out affection original style of the button in my button custom control

Jul 7 2010 2:42 AM

I am creating new custom command button control derived from asp.net command button. In my custom control I want to set two images (i.e. one from left and one from right). In center command text will come. I tried background image property using css. But I won't work out for me. The image is coming left but the actual command button style is lost and the second problem is I could not able to set image on right side. Can anyone send me code or help how to solve this issue.

 

 

Thanks in Advance

 

Regards

Viswanathan


Answers (4)