So I have a situation where I am using asp.net MVC controllers in a web interface I'm working on.
The way it's set up is such that the controller passes a model to the view which then has it defined like this: @model ExceptionReportDBModel.Contributor
ExceptionReportDBModel.Contributor is a class generated by EntityFramework.
The issue is, I can't find a way, using mvc wrapper functions, to bind a textbox or textlabel to the model. I have only been able to find solutions using javascript, which presents a problem because I have not been able to figure out how to bind to the model provided by my asp.net mvc controller using javascript...
If someone know of a wrapper function for this, or if you know how to use javascript along with an mvc model passed from the controller, that would be quite helpful.
The way it's set up is such that the controller passes a model to the view which then has it defined like this: @model ExceptionReportDBModel.Contributor
ExceptionReportDBModel.Contributor is a class generated by EntityFramework.
The issue is, I can't find a way, using mvc wrapper functions, to bind a textbox or textlabel to the model. I have only been able to find solutions using javascript, which presents a problem because I have not been able to figure out how to bind to the model provided by my asp.net mvc controller using javascript...
If someone know of a wrapper function for this, or if you know how to use javascript along with an mvc model passed from the controller, that would be quite helpful.