0

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.

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

Please suggest.

1 Answer 1

1

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?

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.

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

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

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

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

Sign up to request clarification or add additional context in comments.

5 Comments

@balanv: You are welcome! What technology you would use: WCF, ASMX Web Service or ASHX handler?
@Oleg , can you suggest some link or starting point examples for using jqgrid with web forms , ashx examples will do , thanks a lot.
@freebird: The demo from the answer uses ASHX handler in ASP.NET Web Form application. I included the link in my answer. Another demo from the answer uses ASHX handler in ASP.NET Web Form application too.
@Oleg thanks for that I will try , but does the ashx example includes stored procedure also ?
@freebird: It doesn't matter whether to use STORED PROCEDURES or not. It's concerns mostly the technology which you uses for the database access. If you would define Entity using STORED PROCEDURES or if you would uses SqlCommand with SqlDataReader you can use STORED PROCEDURES without any restrictions.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.