Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to get data from server when checkbox is checked and it should be shown on view
and if it is checked then send its confirmation to server that it is checked
here is my partial view i wanna show on this view

@model UTSystem.Models.QuestionsViewModel
@{
Layout = null;
}


<input type="hidden" id="qid" value="@Model.Questions.AddQuestionID" />
<input type="hidden" id="userName" value="@Model.UserName" />

Question: @Model.Questions.Question


Hint: @Model.Questions.Hint



@foreach (var item in Model.Options)
{


<input type="radio" name="selectedvalue" value="@item.Options" />@item.Options



}
Posted
Comments
Sinisa Hajnal 4-Dec-14 7:09am    
And what is the problem? What have you tried?

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