E
Eric
Hi,
I have a gridview with the last column to be a buttonfield.
This is a delete button.
When the user clicks it, the RowCommand event will be fired and the
rowcommand property holds the line number.
I would like from the rowcommand event, to show a popup asking the user if
he wants to continue, like a javascript confirm box.
I can put up the box with
ClientScript.RegisterStartupScript(Me.GetType(), "confirm",
"<script>confirm('" + Msg + "');</script>")
but how can I get it to go to link1 if the answer is ok?
something like: ok pressed --> "~\default.aspx?userclickedOK=true"
is this at all possible?
rg,
Eric
I have a gridview with the last column to be a buttonfield.
This is a delete button.
When the user clicks it, the RowCommand event will be fired and the
rowcommand property holds the line number.
I would like from the rowcommand event, to show a popup asking the user if
he wants to continue, like a javascript confirm box.
I can put up the box with
ClientScript.RegisterStartupScript(Me.GetType(), "confirm",
"<script>confirm('" + Msg + "');</script>")
but how can I get it to go to link1 if the answer is ok?
something like: ok pressed --> "~\default.aspx?userclickedOK=true"
is this at all possible?
rg,
Eric