Click here to Skip to main content
16,015,444 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI I need to pass my datakey value into parameter of .Ajax.Delete() here is my Code can anyone help me to get out of this problem
C#
@(Html.Telerik().Grid(Model)
.Name("Grid")
.DataKeys(keys =>
    {
        keys.Add(o => o.Authorid);
    })

.DataBinding(databinding =>
            {

                databinding.Ajax()
               .Delete("_DELETEBatchEditing", "ExGrid" ,new { mainId = Model.Key }) );

I tried the above code but it did not pass the datakey value into my parameter
Posted
Updated 22-Jun-12 4:53am
v4

1 solution

I highly recommend using the 3rd party software's forum, they offer great support:
http://www.telerik.com/community/forums.aspx[^]
 
Share this answer
 

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