Javascript Delete confirmation buttons settings

Posted by Jagadees under ASP.NET on 5/26/2012 | Points: 10 | Views : 2428 | Status : [Member] | Replies : 5
how to change the javascript delete confirmation message box's ok,cancel text in asp.net3.5?




Responses

Posted by: Vuyiswamb on: 5/27/2012 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Can you please clarify your question

Thank you for posting at Dotnetfunda
[Administrator]

Jagadees, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nuwan on: 5/27/2012 [Member] Starter | Points: 25

Up
0
Down
Vuyiswamb sir I think he asked how to change javascript confirmation Message Box Default Button Text.
Like OK, Cancel Or Yes,No.

Rathnayake

Jagadees, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jagadees on: 5/27/2012 [Member] Starter | Points: 25

Up
0
Down
I Have one repeater,that has one delete button.When click on delete button iam calling one javascript confirm delete button.that button shows ok,Cancel but i want to change that ok ,cancel to other language like german.So how can we make that change.please its very urgent.
With Regards
Jagadeeswar

Jagadees, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 6/8/2012 [Member] Bronze | Points: 25
Posted by: perfectchourasia-9163 on: 6/11/2012 [Member] Starter | Points: 25

Up
0
Down
<script type="text/javascript">
function ConfirmDel()
{
return confirm("Do you want to delete this Content?");
}
</script>

Use this method on Button OnClientClick="return ConfirmDel()"

ER sandeep chourasia
sandeepchrs@yahoo.com (on facebook)
http://www.aspnetcodes.com/

Jagadees, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response