This is a migrated thread and some comments may be shown as answers.

Prompt Yes/No while deleting a record in RadGrid

1 Answer 83 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Uday
Top achievements
Rank 1
Uday asked on 13 Jun 2011, 11:35 AM
Hi,

I am using GridButtonColumn to delete a row from the RadGrid. It prompts the user as OK/Cancel. Is there any way to change that to Yes/No. 

TIA,
Uday M

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 14 Jun 2011, 07:31 AM
Hello Uday,

Try the following code to change the default confirmation text. Hope this helps.

Javascript:
<script type="text/javascript">
    Telerik.Web.UI.RadWindowUtils.Localization =
   {
     "OK": "YES",
    "Cancel": "NO"
   };
</script>

Also check the following KB article which explains more about this.
Changing the localization of RadWindow for ASP.NET AJAX

Thanks,
Shinu.
Tags
Grid
Asked by
Uday
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or