locked
asp.net button RRS feed

All replies

  • User2117486576 posted

    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.

    Friday, November 18, 2011 7:13 PM
  • User1559463124 posted

    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?

    Friday, November 18, 2011 7:42 PM
  • User347430248 posted

    Hi xmiax66,

    to call the method you can do something like below.

            protected void Button1_Click(object sender, EventArgs e)
            {
                MyMethod(Arg1,Arg2);        
            }
    

    Regards

    Deepak

    Monday, September 5, 2016 7:18 AM