我用oData创建了一个Web,并通过datajs进行了调用,因此它在IE上运行良好,但在其他浏览器中则不然。代码如下
我的控制器类是
public class CompanyController: EntitySetController < CompanyDto, string > {
List < CompanyDto > companyDto = new List < CompanyDto > () {
new CompanyDto() {
Id = 1,
CompanyNa
我需要在一个模态对话框中打开一个.aspx页面。下面是我用来打开对话框的JS代码:
if (url) {
var fullPath = url + "/Validation.aspx";
}
else {
alert("Could not find the location of the merge dialog. Please contact your System admin and have them update the configuration entity.&
$.ajax({
type : 'POST', // define the type of HTTP verb we want to use (POST for our form)
url : 'https://your_url.aspx', // the url where we want to POST
data : school, // our data object
dataType : 'json', // what typ