I have a MVC view that has contact information fields such as first name, last name, address, city, state and zip . These fields are auto-populated with 2 search results drop-downs (lookupSLMRLeadRec) and lookupCRMLeadRec ()). Apart from this, I am using blockade for this MVC project.
Example: Address 1 for the population:
& lt; Div data-bind = "visible: display phone view" & gt; & Lt; Table & gt; & Lt; TR & gt; & Lt; Td> & Lt; Strong & gt; * Road & lt; Br / & gt; Address: & lt; / Strong> & Lt; / TD & gt; & Lt; TD & gt; @ Html.TextBoxFor (model => model.vchAddress1, new {data_bind = "value: lookupSLMRLeadRec (). VchAddress", @class = "form-control"}) & lt; / Td> & Lt; / TR & gt; & Lt; / Table & gt; & Lt; / Div & gt; & Lt; Div data-bind = "visible: display CRMView" & gt; & Lt; Table & gt; & Lt; TR & gt; & Lt; Td> & Lt; Strong & gt; * Road & lt; Br / & gt; Address: & lt; / Strong> & Lt; / TD & gt; & Lt; TD & gt; @ Html.TextBoxFor (model => model.vchAddress1, new {data_bind = "value: lookupCRMLeadRec (). VchAddress", @class = "form-control"}) & lt; / Td> & Lt; / TR & gt; & Lt; / Table & gt; & Lt; / Div & gt;
The address is not being passed in the 1st model scene, because the area is populated based on two conditions.
No comments:
Post a Comment