Skip to main content

Posts

Showing posts with the label Json

FlexBox (combobox+json +Paging)

FlexBox Visit the FlexBox Home Page FlexBox  is a jQuery plugin that is intended to be a very flexible replacement for html textboxes and dropdowns, optionally using ajax to retrieve and bind JSON data. It can be used as a: ComboBox, with optional per-result html templates Suggest box, like Google's search Data-driven type-ahead input box It supports: Auto-completion using local (JSON) or remote (JSON via ajax) data Skinning via css Flexible paging Configurable client-side caching Much more... (see Configuration Options in the documentation) Screenshotflex More demos and code examples

ASP.Net MVC 4 + jQuery Autocomplete + Json

Tools used 1. Microsoft VS 2012 2. Jquery 3. Jquery-ui 4. Jquery-ui.css Step to integrate – ASP.Net MVC 4 + jQuery Autocomplete + Json First of all, we will assume you know how to create a new MVC project in MS 2012, in case you need guide, please refer to  here . After create the project, By default, jquery and jQuery-UI javascript files has been created in Scripts folder and you will see files like image below, We will need these files in later step. . Download  jQuery-ui.css  and save into content folder. Create a controller named JqueryController. (Right click on Controllers Folder > Add > Controller) In the JqueryController.cs, add a view with name index. (Right click on ActionResult > Add View) Go to App_start>BundleConfig.cs, and modify your code to include the download jquery-ui.css C# 1 2 bundles . Add ( new StyleBundle ( "~/Content/css" ) . Include ( "~/Content/site.css" ,             ...