Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
How to make code run differently depending on the platform it is running on?
xarzu - Apr 05 2019 09:17 AM
How do I set a breakpoint in an attached process in visual studio
xarzu - Apr 04 2019 11:47 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
Partial Views Data Problem
Posted 11 May 2011 - 05:59 AM
I'm using an MVC asp application...
and having a bit of a problem with one of my pages. I have a partial view with a form in it which posts to a controller function and if the data is invalid returns the view with the form and that form is supposed to display the data and error messages.
My problem is that the parent view has access to the model data but the partial view does not? Help??
I read somewhere that the partial view is suppposed to share the same viewdata/model as the parent view but for me this isn't actually true. Any thoughts as to why???