Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i when remove record from grid .but before remove show this message
"are you remove this recore:ali"
i want send parametr from grid .
this my code
HTML
<a href="@Url.Action("del", "Faculty", new { id = item.Faculty_Name })" title="del" class="btndel">
                       <img src="@Url.Content("~/Content/Images/webgrid/delete.png")" />
                   </a>
 $(".btndel").live("click", function (e) {
           // e.preventDefault(); use this or return false
           url = $(this).attr('href');

           $("#dialog-confirm").dialog('open');
           return false;
       });
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900