2 ajax forms on the same page posting same textbox
- by rod
Hi All,
Is it possible to post, say like a value in a textbox, to 2 different ajax forms that are on the same page? It doesn't have to be at the same time?
What I'm trying to do is this: I have a search page that searches for customers and displays them on a paged grid. Users can specify up to 5 parameters (5 textboxes) to narrow the search.
On the same page I have an export option. Well since I want all the customers for the search and not just the paged data I need a way to post back to the server for this option passing the same parameters used in the grid.
I'm using a ViewModel which would be nice if I can pass that back to the server rather than the individual search fields that are backed by the view model.
Thanks,
rodchar