Question : Asp.Net MVC  PartialView doesn't Refresh after Ajax postback

I just got a PartialView to post back to the server to refresh a business object on the server, update the ViewData with the new object; I can see the http stream carrying the new values back to the browser, but the rendered values don’t get refreshed. If I set the UpdateTargetId=’divHoldingObject’ I get a debug in the AsP.net MVC library. I guess the div just isn’t getting replaced. Do I have to do this by hand? I don’t realy want to have to resort to a json-type parsing of a single string, then populating the fields with javascript, or do I have to ?

Answer : Asp.Net MVC  PartialView doesn't Refresh after Ajax postback

Random Solutions  
 
programming4us programming4us