Last post Sep 05, 2016 07:18 AM by Deepak Panchal
Nov 18, 2011 06:46 PM|xmiax66|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
Nov 18, 2011 07:13 PM|RichardY|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.
Nov 18, 2011 07:42 PM|xmiax66|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?
Sep 05, 2016 07:18 AM|Deepak Panchal|LINK
to call the method you can do something like below.
protected void Button1_Click(object sender, EventArgs e)