Welcome Guest, Not a member yet? Register   Sign In
Correct url to controller from kendo datasource
#3

[eluser]Unknown[/eluser]
Thank you for the response.

The problem is that after calling the grid from the kendo menu and the ajax call in my original scenario, the ajax request looked something like this:

Code:
index.php/customers/view/index.php/customers/get_customers

Therefore the ajax request was chained to the original grid request.

When using your suggestion the situation was similar, the only difference was that the code looked as follow:

Code:
[my domain]index.php/customers/view/[my domain]index.php/customers/get_customers

BUT

that give me enough ideas and after I used:

Code:
dataSource: {
                transport: {
                    read: {
                        url: "/cabinet/index.php/parcels/get_contents",
                        dataType: "json"
                    }
                },

for the ajax call and only

Code:
index.php/parcels/get_contents

for the grid call, it works!!

Thanks!


Messages In This Thread
Correct url to controller from kendo datasource - by El Forum - 04-23-2013, 02:23 AM
Correct url to controller from kendo datasource - by El Forum - 04-26-2013, 11:28 AM
Correct url to controller from kendo datasource - by El Forum - 04-26-2013, 12:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB