DropshadowExtender is used to provide shadow effect for a control. It has the property target control ID to specify ID of the control which you want to extend with dropshadowExtender & other properties available for it are as follows. width : Used to specify width of the shadow for the target control. Opacity : Used to specify how much opacity the show is. Rounded : Indicates whether or not corners of the target control becomes rounded. Radius: Used to specify the radius to use to make the corners of the target control rounded when Rounded property was set to ‘true’ Example The following example demonstrates how to use drop shadow extender. Add a page to the website and place a toolkit script manager & an image control on that page and set an Image in a image control by using ‘Image URL’ property. Within HTML source of the page drag and drop a Dropshadowextender and set following properties to it to create shadow effect for that Image control. <asp: DropShadowExtender ID=”DropShadowExtender” runat=”server” TargetcontrolID=”Image1” Radius=”10” Rounded =”true” width=”15” opacity=”0.5”> </asp: DropshadowExtender>
You liked the article?
Like: 0
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.