XML : nothing display in the second view in MVC c#

In my web site I'm getting data from xml in firt controller action method and display as dropdown(html select and option).then when a user select an itme , seledcted item sent to the next view's controller as a parameter using jquery.I have keep breakpoints and see what is going on.data trasfer is success until second view .but display nothing.I have attached screenshot of my break points and codes.

This is my controllers. enter image description here

this is how I pass data from first view to second action controller method

enter image description here

this is how my second controller gets pass data[I made a breakpoint here]

enter image description here

and this is my second view and display data in break point enter image description here

I put

@item.Nameof

, but it didn't work. so just to chek I put one. but nothing display.whats wrong.please help me with this.

No comments:

Post a Comment