Welcome Guest Search | Active Topics | Sign In | Register

return confirm('are you sure about deleting ?'); Does not work in CallBack Panel Options
Emran Hussain
Posted: Saturday, September 27, 2008 11:22:08 PM
Rank: Newbie
Groups: Member

Joined: 7/3/2008
Posts: 9
Hi,

I have a gridview control where I have a Delete Command button. I have set the OnClientClick property of the Delete Button as

return confirm('are you sure about deleting ?');

Now, When I dont have the Callback Panel, it works fine. If I click on the delete button, a messagebox is shown and if the user cancels the delete, smoothly the operation is cancelled. But if I use the CallBack Panel and then when the user clicks the Delete button, the MessageBox is shown but if the user cancel deleting, the cancellation does not work, the PostBack is not cancelled, rather, the row from the GridView control is deleted. It is very frustrating, because, where I have wanted to show messagebox to the user about deleting, I cant use your Callback panel. I hope the bug can be fixed very easily, so please lookinto this bug and publish a new release.

Thanks.
eo_support
Posted: Tuesday, September 30, 2008 6:02:00 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
This has been fixed in build 2008.0.38.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.