Controls
Controls
STANDARD CONTROLS:
Label Control
Button Control
Textbox Control: Textmode, Maxlength
Radiobutton Control: Checked, GroupName
Radiobuttonlist Control
Dropdownlist Control
Checkbox Control: Checked
Checkboxlist Control
Listbox Control
AdRotator: AdvertisementFile, Target
Calendar Control: SelectedDate, SelectedDates
FileUpload Control
Panel Control
VALIDATION CONTROLS:
SelectedItem.Text
SelectedItem.Value or SelectedValue
SelectedIndex
Common properties for the list control that supports multiple item selection:
Items.Count
Items[index].Selected
Items[index].Text
Items[index].Value
Items.RemoveAt(listIndex);
Items.Clear();
<Ad>
….
….
</Ad>
</Advertisements>
(TableCell)e.cell
(CalendarDay)e.day
Literal Control: Used to add a string as a control to any other standard control.
LiteralControl lcobject = new LiteralControl(string value);
ControlName.Controls.Add(Control or object);
ControlName.Controls.Clear();
4
ADO.NET
Connection:
Where xxx in above syntax can be either Sql, Oracle, Oledb or ODBC.
DataAdapter:
xxxDataAdapter objectName = new xxxDataAdapter (select statement, <connectionString or connectionObject>);
Note: Whenever a DataAdapter is defined using the above syntax then select command of
data adapter will be generated (other commands will not be generated).
StyleSheets:
LOGIN CONTROLS:
Login: CreateUserUrl,
CreateUserText
PasswordRecoveryUrl,
PasswordRecoveryText,
DestinationPageUrl
CreateUserWizard: ContinueDestinationPageUrl
PasswordRecovery: SuccessPageUrl
MailDefinition
From
Priority
Subject
ChangePassword: ContinueDestinationPageUrl