0

Am using a telerik mvc grid to populate a data by passing the text that the user enters in a HTML textbox. Once the text is entered, I have a button which once we click, it should populate a telerik mvc grid with data (data should come by passing in the text into the stored procedure).

I have the stored proc, I have the controls in place and I want to use ajax binding to get the data from the controller using a view model. Am new to Razor, please help.

2
  • Are you using entity framework or casting the sproc results to objects? If you are then its just like anything else, call an Action on a controller that in turn calls your sproc and you shouldn't have any problems. Just look at their filter demo and their ajax demo. I'm assuming you're NOT talking about their KendoUI.. Commented Oct 12, 2012 at 20:21
  • I got it thanks. I was not using Kendo... Commented Oct 15, 2012 at 19:24

1 Answer 1

0

Check this demo, I think it is really close to the case you explained.

http://demos.telerik.com/aspnet-mvc/Grid/Filtering?theme=vista

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.