R
ruca
Can I distinguish between this two kinds of OnClick for Button Control:
1- btnPopup_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnPopup.Click
2- btnPopup.Attributes.Add("OnClick", "...") //here I have a javascript
function that I want to use.
I want to distinguish both and use one in some situations and the other in
others situations.
Can I do this in code?
1- btnPopup_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnPopup.Click
2- btnPopup.Attributes.Add("OnClick", "...") //here I have a javascript
function that I want to use.
I want to distinguish both and use one in some situations and the other in
others situations.
Can I do this in code?