i want to populate below mentioned html control in MVC3 view can any body tell me how i will populate this control dynamically
i am getting my data in controller
public JsonResult Gettestdata()
var data = ServiceName.Getdata();
return Json(data, JsonRequestBehavior.AllowGet);
This html control need to populate with above data which is pulling by [HttpGet]
<select id="control_7" name="control_7" multiple="multiple" size="5">
<option value="option_1">Option 1</option>
<option value="option_2">Option 2</option>
Check this http://277hz.co.uk/Blog/Show/10/drop-down-lists-in-mvc--asp-net- (http://277hz.co.uk/Blog/Show/10/drop-down-lists-in-mvc--asp-net-)
You need to call Gettestdata in ConstructDropDownListOptions
Managing Active Directory can get complicated. Often, the native tools for managing AD are just not up to the task. The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each
page automatically generates a Mailchimp signup form in the sidebar.
This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
The viewer will learn the basics of jQuery including how to code hide show and toggles.
Reference your jQuery libraries:
Include your new external js/jQuery file:
Write your first lines of code to setup your site for jQuery…