will110
asked on
How to give round corners to a Button control
Hello All,
I saw the video at URL(Below) to give round corners to controls using Ajax roundcorner extender
http://www.asp.net/learn/ajax-videos/video-98.aspx
I followed the video and was able to get round corners for panel control and when I did the same for Button control I failed...Can anyone tell me if I can make use of roundcorner extender for button control? If not what is the best way to make a button with rounded corners...
Thank You
Will
I saw the video at URL(Below) to give round corners to controls using Ajax roundcorner extender
http://www.asp.net/learn/ajax-videos/video-98.aspx
I followed the video and was able to get round corners for panel control and when I did the same for Button control I failed...Can anyone tell me if I can make use of roundcorner extender for button control? If not what is the best way to make a button with rounded corners...
Thank You
Will
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div style="width: 224px; height: 149px">
<asp:Panel ID="Panel1" runat="server" BackColor="#00FF99" Height="146px"
Width="223px">
This is to Test the Panel
</asp:Panel>
<asp:Button ID="Button1" runat="server" Text="Try Me" BackColor="#00CCFF" />
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<cc1:RoundedCornersExtender ID="RoundedCornersExtender1" runat="server" TargetControlID ="Button1" Radius ="7" Corners ="All">
</cc1:RoundedCornersExtender>
</div>
</form>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The link proposed as solution is broken.
Thanks