This is very useful for the asp.net developers to make the asp.net controls round.For this , RoundedCornersExtender control is used to make the corners of any asp.net controls round.This control adds a background panel to an asp.net control so that the control,when rendered on a web page appears with rounded corners.There are some properties of this RoundedCornersExtender as given below:-
- TargetControlID:- It sets the ID of the control whose corners are to be modified.
- Corners:-It is helpful to sets the corners of the target control,which you want to round.
- Radius:-It sets the radius of the rounded corners by default this value is 5 pixel.
Step 1:- First open your visual studio-->File-->New-->Website-->Select Asp.net Empty Website-->OK -->Open Solution Explorer Window -->Add a New Web Form(Default.aspx)-->First Drag and drop AjaxToolKit and Panel Control-->After that inside Panel Control,drag and drop Text Box and Button controls as shown below:-