Field not showing up in View. ASP.NET MVC 2

Niall Gallagher
Niall Gallagher used Ask the Experts™
on
This has got me stumped, and just when I thought I was in a good place.

I am writing an edit page using MVC 2 and got everything working great so far.

Got a table full of records and at the end of each row there are 2 buttons Delete and Edit. When I pressed Edit at the start the page opened and all the required editable fields were there but I then noticed I had no way to say what record to update (I wasn't capturing the record ID field) I know stupid school boy error.
So I added the record ID to the class and built it in to the JQuery function and made the changes to the control and I watched it going throw from the button click to the control and watched all the values going through but when it reaches the view it's not there, I am bringing it as model.ID and have gave the Model.ID a value in the control but it never reaches the view.
Can you help to figure out why.

Any help greatly appreciated

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Developer
Commented:
I did it, maybe not the best way but I was able to pass the value into the hidden field using jquery
Niall GallagherDeveloper

Author

Commented:
It got the necessary response

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial