This project is read-only.

MVC Views

Nov 19, 2013 at 3:17 PM
I have a view that works fine, I get all the data on the page, the problem occurs when I refresh the page one of the lables that contains data dissapears. I run the code through the debugger and in my Classes and My controllers I see the data when I first run the page, but when I refresh and go through the debugger the second time the Data is "Null" so when the view is rendered the second time the Label is Empty.??
Any Ideas on what may be happening here?
Nov 19, 2013 at 11:14 PM
Hi srizi,

That definitely seems very unusual and is not expected. Can you set a breakpoint in the Razor page and see what data the Razor page is getting?