Re: Add confirmation to a LinkButton
From: bradbury9 (ray_bradbury9_at_hotmail.com)
Date: 03/19/04
- Next message: Mike: "win XP style"
- Previous message: bradbury9: "Re: Extend the CheckBoxControl"
- In reply to: Ken Cox [Microsoft MVP]: "Re: Add confirmation to a LinkButton"
- Next in thread: Jeffrey Tan[MSFT]: "RE: Add confirmation to a LinkButton"
- Messages sorted by: [ date ] [ thread ]
Date: 19 Mar 2004 10:20:24 -0800
> <a id="LinkButton1" href="javascript:__doPostBack('LinkButton1','')"
> style="background-color:Red;height:32px;width:136px;Z-INDEX: 103; LEFT:
> 192px; POSITION: absolute; TOP: 232px">LinkButton</a>
Thats the reason why I would try something like this:
<a href="javascript:confirmation_request()" id="myLink"...>
<script>
confirmation_request(){
if(confirm('Are you sure????'){
__doPostBack('myLink','');
}
}
</script>
Perhaps it's not the best way to accomplish that, but it should work.
- Next message: Mike: "win XP style"
- Previous message: bradbury9: "Re: Extend the CheckBoxControl"
- In reply to: Ken Cox [Microsoft MVP]: "Re: Add confirmation to a LinkButton"
- Next in thread: Jeffrey Tan[MSFT]: "RE: Add confirmation to a LinkButton"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|