This is a migrated thread and some comments may be shown as answers.

[Solved] MVC Grid Populate on demand

0 Answers 110 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
bbeatty
Top achievements
Rank 1
bbeatty asked on 22 May 2012, 08:17 PM
I'm trying to build a wizard like data entry form and I have a grid on the "2nd page" that is populated based on values on the 1st page.

Ex:
Page 1:
Drop Down of Companies, Select CompanyId

Page 2:
Grid populated based on CompanyId from Page1

Both Page1 and Page2 are really 2 div tags on the same page.
I'm trying to figure out how not to get the grid to load until I go to Page2 or have a valid CompanyId.

How do I get the MVC Ajax grid to
1. Not have the grid perform the Select() Ajax call on load?
2. Get the grid to call Select on demand using jquery?
Tags
Grid
Asked by
bbeatty
Top achievements
Rank 1
Share this question
or