Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How to fill ComboBox in View from controller

Posted on 2011-10-15
Medium Priority
Last Modified: 2012-05-12
Actually i am new in mvc3 and not experience in JQuery, I am filling

on client site like

var combobox = $('#ComboBox').data('tComboBox');

var dataSource =
    { Text: "Product 1", Value: "1" },
    { Text: "Product 2", Value: "2" },
    { Text: "Product 3", Value: "3" },
    { Text: "Product 4", Value: "4" },
    { Text: "Product 5", Value: "5" },
    { Text: "Product 6", Value: "6" },
    { Text: "Product 7", Value: "7" },
    { Text: "Product 8", Value: "8" },
    { Text: "Product 9", Value: "9" }


actually i want to pull this data from controller and want to fill in view can you tell me how i will do that, send me code exemple that would be easy for me. Thanks
Question by:farjack1
1 Comment
LVL 26

Accepted Solution

Anurag Thakur earned 2000 total points
ID: 36974956

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is a huge demand for CodeIgniter among the PHP web developers due to its dynamic features and benefits these days. It is one of most popular and agile open source PHP framework for creating robust web applications in PHP web development field.…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
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…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question