PDA

View Full Version : Ext.Direct.Mvc - destroy api



isit.gd
21 Jan 2010, 6:36 AM
Hi

I'm trying to get the store to delete the row on the server using the api - I have the api set up, it reads fine etc.

however when i try to use it to delete it comes back with a 'type error'

anyone seen this before?

is there anything i'm supposed to decporate the controller method with?

all i have atm is:


public ActionResult DeleteObject([Bind] MyObject obj)
{
[...]
}

elishnevsky
25 Jan 2010, 4:19 PM
What do you pass from the client to the function? What does [Bind] do?