The easiest way is to create an image with the look you want and use it as the background for the button. Then just add the OnClick="YourMethod" property to the button markup.
is this the way facebook and google uses to show buttons?i don't think so.That wouldn't change the shape of the button and it would cause a performance hit probably. any other solutions?
xmiax66
Member
26 Points
22 Posts
asp.net button
Nov 18, 2011 10:46 PM|LINK
hi everyone i want a button like the one in the url.and when i click i want it to invoke a method.the button will be an asp.net button not linkbutton how can i do that? http://www.buttonshut.com/Google+-Buttons/Google+-Buttons-40-77-.jpg
RichardY
Star
8376 Points
1573 Posts
Re: asp.net button
Nov 18, 2011 11:13 PM|LINK
The easiest way is to create an image with the look you want and use it as the background for the button. Then just add the OnClick="YourMethod" property to the button markup.
xmiax66
Member
26 Points
22 Posts
Re: asp.net button
Nov 18, 2011 11:42 PM|LINK
is this the way facebook and google uses to show buttons?i don't think so.That wouldn't change the shape of the button and it would cause a performance hit probably. any other solutions?