T
tshad
Is there a way to change the onClick event of a LinkButton?
At the moment, I am using 2 buttons that I toggle the visibility on and off.
I would like to use just one button, if possible and just change the onClick
event as well as the ImageUrl during postback.
I tried it but got the message:'
Compiler Error Message: BC30390:
'System.Web.UI.WebControls.ImageButton.Protected Overridable Sub OnClick(e
As System.Web.UI.ImageClickEventArgs)' is not accessible in this context
because it is 'Protected'.
when I tried to do:
SaveRecord.OnClick="InsertRecord_Click"
Is there a way to do this or do I need to use 2 different buttons?
Thanks,
Tom
At the moment, I am using 2 buttons that I toggle the visibility on and off.
I would like to use just one button, if possible and just change the onClick
event as well as the ImageUrl during postback.
I tried it but got the message:'
Compiler Error Message: BC30390:
'System.Web.UI.WebControls.ImageButton.Protected Overridable Sub OnClick(e
As System.Web.UI.ImageClickEventArgs)' is not accessible in this context
because it is 'Protected'.
when I tried to do:
SaveRecord.OnClick="InsertRecord_Click"
Is there a way to do this or do I need to use 2 different buttons?
Thanks,
Tom