Click here to Skip to main content
15,915,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

This is my dropdownlist code :
HTML
<div class="form-group col-md-4">
<span>VISA type *</span>
<select name="visa" class="js-example-tokenizer js-states form-control" data-ng-model="Candidate.VisaType" ng-class="submitted?'ng-dirty':''" required autofocus>
<option value="">-- Select VISA type --</option>
<option value="1">H1 B</option>
<option value="2">Green Card</option>
<option value="3">Citizen</option>

</select>

<span class="error" ng-show="(f1.visa.$dirty || submitted) && f1.visa.$error.required">Skill Sets required!</span>

</div>

When i click edit button all text fields will be auto populated except this dropdown.

I am using this value in int in database .

I am using angularjs for front end. backend using c# web api .

Please give me solution for that.

Thank you.
Posted
Updated 5-Dec-15 4:42am
v2
Comments
Suvendu Shekhar Giri 5-Dec-15 11:18am    
Show the edit button click event.
Member 11559509 6-Dec-15 4:02am    
<tbody data-ng-repeat="candidate in mycandidateList|filter:search">
<tr role="row" class="odd">

<td style="white-space:nowrap">{{candidate.Name}}</td>
<td style="white-space:nowrap" class="sorting_1">{{candidate.Designation}}</td>
</tr>

</tbody>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900