aspnetawesome.com
Learn to use ASP.net Awesome jQuery Ajax Controls - ASP.net MVC Awesome
http://aspnetawesome.com/learn
Binding to multiple parents. To get started we recommend to have a look at our demo app http:/ demo.aspnetawesome.com. There is source code provided with each example so you can get an idea of how the helpers work, you can also download it's source code. Watch the video tutorials: http:/ aspnetawesome.com/learn/mvc/VideoTutorials. When creating a new solution using the awesome helpers make sure to have a look at the installation page: http:/ aspnetawesome.com/learn/mvc/Installation. Or Ctrl Shift I.
demo.aspnetawesome.com
AjaxRadioList, Cascading RadioButtonList - ASP.net MVC Awesome Demo
http://demo.aspnetawesome.com/AjaxRadioListDemo
AjaxRadioList needs an url, js func or controller to get data from, it will render a list of radiobuttons. Cascading Radio button list using binding to Parent:. HtmlAwe().AjaxRadioListFor(o = o.ParentCategory). Url(Url.Action(GetCategories, Data) ). HtmlAwe().AjaxRadioListFor(o = o.ChildMeal). Url(Url.Action(GetMeals, Data). Parent(o = o.ParentCategory, categories). Return Json(Db.Categories.Select(o = new KeyContent(o.Id, o.Name) );. Public ActionResult GetMeals(int[] categories). New int[] ;. ColorDro...
demo.aspnetawesome.com
AjaxCheckBoxList, Cascading Checkbox List - ASP.net MVC Awesome Demo
http://demo.aspnetawesome.com/AjaxCheckboxListDemo
It renders a list of checkboxes, needs an url, js func or controller to get data from. Cascading CheckboxList using binding to parent. H3 Cascading CheckboxList using binding to parent /h3. HtmlAwe().AjaxCheckboxListFor(o = o.ParentCategory). Url(Url.Action(GetCategories, Data) ). HtmlAwe().AjaxCheckboxListFor(o = o.ChildMeals). Parent(o = o.ParentCategory, categories). Url(Url.Action(GetMeals, Data) ). Return Json(Db.Categories.Select(o = new KeyContent(o.Id, o.Name) );. New int[] ;.
demo.aspnetawesome.com
Grid CRUD Demo - ASP.net MVC Awesome Demo
http://demo.aspnetawesome.com/GridCrudDemo
Grid crud, built using the Grid and PopupForm helpers. There's 3 PopupForms for create, edit and delete, they are initialized via InitCrudPopupsForGrid custom helper, each PopupForm has Success js function assigned, these functions are located in Utils.js. Create post action returns the grid model for the new Item so the js func will render and append it. Edit post action returns the item's Id and the js func is using grid.api.update to update the row, this is where the controller line:. New Column { Cli...
demo.aspnetawesome.com
Grid inline editing demo - ASP.net MVC Awesome Demo
http://demo.aspnetawesome.com/GridInlineEditDemo
Grid inline editing demo. Create with predefined values. Inline editing for grid achieved using custom mods. Delete action is the same as in the grid crud demo, using a popup. To set initial values on create set the initial model as a parameter in the inlineCreate method (as done on the home page), example: $grid.data('api').inlineCreate({ Name: 'hi' }). Div style=float: right;. HtmlAwe().TextBox(txtSearch).Placeholder(search.).CssClass(searchtxt). Var chefId = Db.Chefs.First().Id;. Mod(o = o.Inline(...
demo.aspnetawesome.com
Wizard built using PopupForm - ASP.net MVC Awesome Demo
http://demo.aspnetawesome.com/WizardDemo
Click here to start wizard. In this demo a Wizard is built using the PopupForm helper. We're not using the default Ok and Cancel buttons instead a submit button is placed on the bottom center of the form. Stepping forward is done by submiting the form, the successful submit will redirect to another action which will return a view (html), when the popupform receives html/string it replaces its content with that html. Using System.Linq;. Using System.Web.Mvc;. Using AwesomeMvcDemo.Models;. Var wizardModel ...
demo.aspnetawesome.com
Master Details Demo using ASP.net MVC Awesome Grid and PopupForm - ASP.net MVC Awesome Demo
http://demo.aspnetawesome.com/MasterDetailCrudDemo
Master Detail CRUD Demo using Grid and PopupForm. This is a demo for master detail CRUD using the Grid. For master-detail grid see Master Detail Grid. Or Hierarchy (Nested Grids). HtmlInitCrudPopupsForGrid(RestaurantGrid, MasterDetailCrudDemo, 470). Button type=button class=awe-btn mbtn onclick=awe.open(createRestaurantGrid) Create /button. New Column { ClientFormat = .Id, Header = Id, Width = 70 },. New Column { Bind = Name },. Model AwesomeMvcDemo.ViewModels.Input.RestaurantInput. Using System.Linq;.
demo.aspnetawesome.com
ASP.net MVC Awesome Demo Sitemap - ASP.net MVC Awesome Demo
http://demo.aspnetawesome.com/Sitemap
Grid In Nest Editing. Grid export to excel. See also: ProDinner Demo.