Hi,
does kendoui widgets support url rewrite?
I have a situation where we have our web site published (firewall) as a "subfolder" of root like this:
http://server.domain/xxxx/Home/Dummy2?Length=7
but the site is actually in the root off IIS.
I configured url rewrite like this:
<rule name="Kendo" enabled="true" stopProcessing="false">
<match filterByTags="A, Area, Base, Form, Frame, Head, IFrame, Img, Input, Link, Script" pattern="([^:]+://)([^:/]+(:[0-9]+)?/)([^:/].*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="true" />
<action type="Rewrite" value="{R:1}{R:2}xxxx/{R:4}" />
</rule>
For links, script links etc. it is working fine but for kendogrid
@(Html.Kendo()
.Grid("xGrid")
.....
.Read(read => read.Action("Dummy2", "Home", "Catalog"))
...
I can`t get it working. It is always rendering http://server/Home/Dummy2?Length=7 instead http://server/xxxx/Home/Dummy2?Length=7.
Any suggestions?
Thx
does kendoui widgets support url rewrite?
I have a situation where we have our web site published (firewall) as a "subfolder" of root like this:
http://server.domain/xxxx/Home/Dummy2?Length=7
but the site is actually in the root off IIS.
I configured url rewrite like this:
<rule name="Kendo" enabled="true" stopProcessing="false">
<match filterByTags="A, Area, Base, Form, Frame, Head, IFrame, Img, Input, Link, Script" pattern="([^:]+://)([^:/]+(:[0-9]+)?/)([^:/].*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="true" />
<action type="Rewrite" value="{R:1}{R:2}xxxx/{R:4}" />
</rule>
For links, script links etc. it is working fine but for kendogrid
@(Html.Kendo()
.Grid("xGrid")
.....
.Read(read => read.Action("Dummy2", "Home", "Catalog"))
...
I can`t get it working. It is always rendering http://server/Home/Dummy2?Length=7 instead http://server/xxxx/Home/Dummy2?Length=7.
Any suggestions?
Thx