servicestack,Internet Explorer,servicestack" /> servicestack,Internet Explorer,servicestack" />

Internet explorer ServiceStack webservice在ie9或ie10中工作,使用本地主机作为地址,但不使用ip地址作为地址

Internet explorer ServiceStack webservice在ie9或ie10中工作,使用本地主机作为地址,但不使用ip地址作为地址,internet-explorer,servicestack,Internet Explorer,servicestack,我遇到了一个问题,chrome和opera可以很好地解决这个问题,但是当我在url中使用主机名或ip而不是localhost时,有一个表单与InternetExplorer9和10相匹配。还有另一个表单对象,它只适用于文本框和提交按钮 我遇到问题的表单有文本字段、选择列表、下拉列表和复选框 我没有从internet explorer中的“提交”按钮接收事件,但在其他浏览器中接收到 错误: Error Code: RequestBindingException: Unable to bind re

我遇到了一个问题,chrome和opera可以很好地解决这个问题,但是当我在url中使用主机名或ip而不是localhost时,有一个表单与InternetExplorer9和10相匹配。还有另一个表单对象,它只适用于文本框和提交按钮

我遇到问题的表单有文本字段、选择列表、下拉列表和复选框

我没有从internet explorer中的“提交”按钮接收事件,但在其他浏览器中接收到

错误:

Error Code:
RequestBindingException: Unable to bind request
Stack:
at ServiceStack.WebHost.Endpoints.RestHandler.GetRequest(IHttpRequest httpReq, IRestPath restPath) at ServiceStack.WebHost.Endpoints.RestHandler.ProcessRequest(IHttpRequest httpReq, IHttpResponse httpRes, String operationName)
守则:

<form style="width:inherit; margin:4px" action="/search" method="post"><label style="color: white;">Quick Search</label><br>
                <label style="color: white;">Colors:</label>
                <br/>
                @*<input style="width:100px;" name="Colors" type="text"><br>*@
                <select name="Colors" style="height:200px; width:100px;" multiple>
                    @{
                        @:<option value ="Any">Any</option>
                        foreach(Color colors in Repositories.TypeGetters.GetAllColors())
                        {
                            @:<option value ="@colors.Description">@colors.Description</option>
                        }
                    }
                </select><br>
                <input style="color: white; font-size:small" type="checkbox" name="PredominantColor" value="1" />
                <label style="color: white;">Predominant Color?</label><br />
                <label style="color: white; width:30px">D1</label><label style="color: white; width:30px">xD2:</label><br />
                <input style="width:30px" name="D1" type="text"><label style="color: white;">mm. X </label>
                <input style="width:30px" name="D2" type="text"><label style="color: white;">mm.</label><br />
                <label style="color: white;">Number of Layers:</label><br>
                <input style="width:30px" name="LayersCount" type="text"><br>
                <label style="color: white; width:100px">Flexibility:</label><br/>
                <select style="width:100px" name="Flexibility">
                    @{
                        @:<option value ="Any">Any</option>
                        foreach(FlexibilityType flex in Repositories.TypeGetters.GetAllFlexTypes())
                        {
                            @:<option value ="@flex.Description">@flex.Description</option>
                        }
                    }
                </select> <br />
                <button name="SearchType" type="submit" value="2" style="float:right; margin-right:20px;">Submit</button><br />
            </form>
快速搜索
颜色:
@*
*@ @{ @:任何 foreach(存储库中的颜色。TypeGetters.GetAllColor()) { @:@colors.Description } }
主要颜色?
D1xD2:
嗯。X 嗯。
层数:

灵活性:
@{ @:任何 foreach(存储库中的FlexibilityType flex.TypeGetters.GetAllFlexTypes()) { @:@flex.Description } }
提交

随着事情的发展,我花了一整天的时间在这上面,我找到了一个解决方案。而不是使用

提交

我用的标签


它解决了这个问题


我无法理解或解释为什么internet explorer不能以另一种方式工作,但这是可行的。我猜这是由于IE的html5支持问题造成的。

随着事情的发展,我花了一整天的时间来解决这个问题,我想出了一个解决方案。而不是使用

提交

我用的标签


它解决了这个问题

我无法理解或解释为什么internet explorer不能以另一种方式工作,但这是可行的。我猜这是由于IE的html5支持问题