How to cut the text box into different shapes(circles,rectangles,....) in asp.net

Posted by sailulakshmid-21627 under ASP.NET on 6/20/2013 | Points: 10 | Views : 5195 | Status : [Member] | Replies : 1
code for How to cut the text box into different shapes(circles,rectangles,....) in asp.net




Responses

Posted by: lakhansin-22735 on: 6/27/2013 [Member] Starter | Points: 25

Up
0
Down
Hi,

(1) Try this
<head runat="server">


<style type="text/css">
.txtbox
{
border-top-left-radius: 20px;
border-top-right-radius: 20px;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
</style>
</head>

Apply this CSS class to the textbox like below
<asp:TextBox ID="txtRoundCorner" runat="server" cssclass="txtbox"></asp:TextBox>

(2) Refer these links
http://roshanbh.com.np/2008/04/how-to-make-rounded-corner-textbox.html 

http://www.dotnetcode.in/2011/10/rounded-corner-textbox-in-aspnet.html
http://www.ashesh.com.np/how-to-make-rounded-corner-textbox-using-css/
http://borderradius.com/


Lakhan Singh
Tech Lead
BeyondKey System Pvt. Ltd.
Indore, M.P.
India

sailulakshmid-21627, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response