This is a migrated thread and some comments may be shown as answers.

Grid with a URL Re-writer

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 10 Aug 2012, 10:14 PM
We have a situation where a URL re-writer is modifying the URL in such a way that the ajax calls the Grid control makes is breaking.

The application with the grid control is calling www.mydomain.com/controller/action/
what it needs to call is www.mydomain/applicationName/controller/action.

is the a method where we can inject the above application name into the ajax calls so that the Telerik Grid can retrieve the data at the new location.  Right now, we are using:  "databinding.Ajax().Select("action", "controller");" to define where the data is located.

If possible we would like to stay using the Fluent API to define this since most of our grids are defined that way.

I hope I am explaining this properly.  Any help you can provide would be greatly appreciated.

Thanks,
Chris

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 14 Aug 2012, 10:55 AM
Hello Chris,

Basically if you find a way to generate such URL with a regular ActionLink helper then you can use the same approach with the Grid.

Kind regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Chris
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or