Saturday, June 25, 2016

Part 13 Check Box Control

Posted by   on

The CheckBox control is used when you want the user to select more than one option from the available choices .

Important Properties of a CheckBox control  control

  1.  Checked :This is a boolean property that is used to check if the button is check or not
  2.  Text : Get or set the Tex associated with The CheckBox button control
  3. Text Align: On which side of the CheckBox text should appear either left side or right side
  4. AutoPostBack: This is a flag. if it set to be true then after the Checked Changed the form is immediately is submitted to the server for processing
    Events

                  CheckedChanged: This Event is fired when Checked status of the Checkbox button control is changes

Method

                 Focus(): Just Like Textbox , checkbox supports focus() method .This method is use to set the focus for a specific checkbox



No comments:
Write comments

Ammar Ijaz© 2016.©.