Ajax Toggle Button Extender

Ratings:
(4)
Views: 579
Banner-Img
Share this blog:

Toggle Button Extender

This control is used with checkbox and it is used to provide different for checkboxes when it is checked and unchecked

 Properties 

TargetControlID: CheckImageURL : Used to specify url of the image to display when the Targetcontrol is checked. UncheckImageURl : Used to specify url of the image to display when the target control is unchecked. Imagewidth & image height : Used to specify width & height of the image. Example  The following example demonstrates how  to use the ToggleButtonExtender Add a page to the website & place a ToolkitScriptmanager & a check box on it & for the checkbox set the ID as C1. With the HTML source of the page drag & drop a Toggle Button Extender and set following properties for it. <asp:ToggleButtonExtender  Id=”ToggleButtonExtender1” runat=”server” TargetcontrolID=”c1” checkedImageurl=”~/Images/checked.ico” uncheckedimageurl=”~/images/unchecked.ico” imagewidth=”20” image height=”20”> </asp:ToggleButtonExtender>

You liked the article?

Like: 0

Vote for difficulty

Current difficulty (Avg): Medium

EasyMediumHardDifficultExpert
IMPROVE ARTICLEReport Issue

About Author

Authorlogo
Name
TekSlate
Author Bio

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.

Stay Updated
Get stories of change makers and innovators from the startup ecosystem in your inbox