Look At :-
[input id="Button3" onclick="return confirm('Are You Sure?');" type="button" value="button" />]
Eg.
[input id="Button3" onclick="return confirm('Are You Sure?');" type="button" value="button" />]
Eg.
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
'
' First show a single-argument dialog box with MessageBox.Show.
'
MessageBox.Show("Dot Net Perls is awesome.")
'
' Show a two-argument dialog box with this method.
'
MessageBox.Show("Dot Net Perls is awesome.", _
"Important Message")
'
' Use a three-argument dialog box with MessageBox.Show.
' ... Also store the result value in a variable slot.
'
Dim result1 As DialogResult = MessageBox.Show("Is Dot Net Perls awesome?", _
"Important Question", _
MessageBoxButtons.YesNo)
'
' Use four parameters with the method.
' ... Use the YesNoCancel enumerated constant and the Question icon.
'
Dim result2 As DialogResult = MessageBox.Show("Is Dot Net Perls awesome?", _
"Important Query", _
MessageBoxButtons.YesNoCancel, _
MessageBoxIcon.Question)
'
' Use five arguments on the method.
' ... This asks a question and you can test the result using the variable.
'
Dim result3 As DialogResult = MessageBox.Show("Is Visual Basic awesome?", _
"The Question", _
MessageBoxButtons.YesNoCancel, _
MessageBoxIcon.Question, _
MessageBoxDefaultButton.Button2)
'
' Use if-statement with dialog result.
'
If result1 = DialogResult.Yes And _
result2 = DialogResult.Yes And _
result3 = DialogResult.No Then
MessageBox.Show("You answered yes, yes and no.") ' Another dialog.
End If
'
' Use MessageBox.Show overload that has seven arguments.
'
MessageBox.Show("Dot Net Perls is the best.", _
"Critical Warning", _
MessageBoxButtons.OKCancel, _
MessageBoxIcon.Warning, _
MessageBoxDefaultButton.Button1, _
MessageBoxOptions.RightAlign, _
True)
'
' Show a dialog box with a single button.
'
MessageBox.Show("Dot Net Perls is super.", _
"Important Note", _
MessageBoxButtons.OK, _
MessageBoxIcon.Exclamation, _
MessageBoxDefaultButton.Button1)
End Sub
End Class
.searchBox{background-image:url('images/magnifying-glass.gif');background-repeat:no-repeat;padding-left:20px;}
| Member login |
Feature | Repeater | DataList | GridView |
Table layout | No | No | Yes |
Flow layout | Yes | Yes | No |
Column layout | No | Yes | No |
Style properties | No | Yes | Yes |
Templates | Yes | Yes | Columns/optional |
Select/ Edit/Delete | No | Yes | Yes |
Sort | No | No | Yes |
Paging | No | No | Yes |
2. Text1.text ------- is Method
3. button 1. Click -- is an eventWhat is the difference between a property a method and an event? Give an example of each.
*Property are a type of method that shows state of an Object
like Caption, backcolour etc.
*Methods/Functions are for changing Or doing something on
the Object Like Move,Remove, Add etc.
*Event are Objects which means that something happend for
which the object must respond to. And for this very reason
we write method like
button1_Click( sender Object, event Object)
The event Object(Delegate) is related with the method of
that responder Object(Button)