• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

Ajax Toggle Button Extender

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>

Summary
Review Date
Reviewed Item
Ajax Toggle Button Extender
Author Rating
5

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Ajax Toggle Button Extender"

Leave a Message

Your email address will not be published. Required fields are marked *

Site Disclaimer, Copyright © 2016 - All Rights Reserved.