servicestack

servicestack

FredFlintstoneFredFlintstone Posts: 24Questions: 0Answers: 0
edited December 2012 in General
has anyone managed to wire up datatables with servicestack? (http://www.servicestack.net/) i can't seem to configure the method signature to match that which datatables requires.

eg

public object Get(MyObject request)
{...}

as opposed to

public dynamic Get(int sEcho,
int iDisplayStart,
int iDisplayLength,
string sSearch,
int iSortCol_0,
string sSortDir_0)
{...}

which is the sort of thing datatables would look for.

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Worth noting that DataTables only needs those if you are using server-side processing.

    Allan
  • FredFlintstoneFredFlintstone Posts: 24Questions: 0Answers: 0
    hi allan, yes thanks, i am aware of that. i need to make ajax calls to server code.
  • FredFlintstoneFredFlintstone Posts: 24Questions: 0Answers: 0
    it's ok. got it working in principle :)
This discussion has been closed.