如何实现的jqGrid在asp.net? [英] How to implement JQgrid in asp.net?

查看:99
本文介绍了如何实现的jqGrid在asp.net?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net mvc的与jqGrid的工作,但现在我想在asp.net中实现这一点。
我发现很难在asp.net中作出jqGrid的样本。

I have worked with JQgrid in asp.net mvc, but now i am trying to implement this in asp.net. I find a hard time making a JQgrid sample in asp.net.

我不得不使用asp.net JSON响应或者我有任何其他方式来实现这一点。

Do i have to use the JSON response in asp.net or i have to implement this in any other way.

请建议。

推荐答案

我不明白满你的要求。 ASP.NET MVC也是ASP.NET应用程序。你有没有限制.NET版本?你可以只用一些特定的.NET技术?

I don't full understand your requirements. ASP.NET MVC is also ASP.NET application. Do you have restriction to .NET version? Do you can use only some specific .NET technology?

在一般您可以在其他ASP.NET技术的code搭配你的尺寸的主要code。例如WCF服务可以是ASP.NET MVC或ASP.NET Web窗体应用程序的一部分。主要code可以提供您的网站的用户界面和WFC服务将来自任何jqGrid的Ajax请求提供JSON数据。

In general you can mix the main code of your size with the code in other ASP.NET technology. For example WCF service can be the part of ASP.NET MVC or ASP.NET Web Form application. The main code can provide the user interface of your web site and the WFC service will provide JSON data for any Ajax requests from jqGrid.

所以,你可以只使用WCF,ASMX Web服务甚至简单的ASHX处理程序的任何实例。

So you can just use any examples of WCF, ASMX Web Service or even simple ASHX handler.

从的的http:/ /stackoverflow.com/a/7666711/315935\">the答案展示了如何使用ASHX处理程序的ASP.NET Web窗体应用程序。

The demo project from the answer shows how to use ASHX handler in ASP.NET Web Form application.

从的的http:/ /stackoverflow.com/a/3914796/315935\">the答案展示了如何使用WCF服务。

Another demo project from the answer shows how to use WCF service.

从的的http:/ /stackoverflow.com/a/6296601/315935\">the回答从另一个 href=\"http://stackoverflow.com/a/4593474/315935\">答案展示ASMX Web服务的使用。

The demo project from the answer or another demo from the answer demonstrate the usage of ASMX web services.

这篇关于如何实现的jqGrid在asp.net?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆