PDA

View Full Version : Getting data to the server from Form and Grid?



Bucs
25 Sep 2008, 4:40 AM
Newbie question again.

I have a window from which I am going to create an order for some items. The window will have a border layout with a form in the West, a Tab on the left (Center) and a Grid below that. The form on the left will house the Order header information, the Grid on the lower bottom on the right with house the ordered items which will be drug from the tab grids.

Obviously the Order header information will be posted to the server thru the Form 'url: asynchandler.aspx' 'POST' operation...but how do I get the ordered items detail from the grid on the right (which is outside the Form) to the server in the same operation?

Does this have to be a custom Ajax method that I implement, rather than a simple form post?

Thanks,
Randy

mjlecomte
25 Sep 2008, 5:15 AM
Yes, you have to code something to get the grid content. There's an example in the Grid FAQ for this. Look for grids in forms in Grid FAQ. Principle is valid for your case.

Bucs
25 Sep 2008, 5:16 AM
Thanks mj...will check that out and let you know.

Appreciate the pointer,
Randy