I want to show Components in a tabs , so first of all create few components. In this project we have three components, First View Component public class AllViewComponent : ViewComponent { private readonly UserManager<ApplicationUser> _userManager; public AllViewComponent(UserManager<ApplicationUser> userManager) { _userManager = userManager; } public async Task<IViewComponentResult> InvokeAsync() { List<StudentViewModel> allUsers = new List<StudentViewModel>(); var items = await _userManager.Users.ToListAsync(); foreach (var item in items) { allUsers.Add(new StudentViewModel {Id=item.Id, EnrollmentNo = item.EnrollmentNo, FatherName = item.FatherName, Name = item.Name, Age = item.Age, Birthdate = item.Birthdate, Address = item.Address, Gender = item.Gender, Email = item.Email }); }
Chapter-3 : Web Forms Standards Controls(2) with example
3.1 : The Image Control
3.2 : The ImageButton Control
3.3 : The ImageMap Control
3.4 : The ListBox Control
3.5 : The DropDownList Control
3.6 : The BulletedList Control
3.7 : The HyperLink Control
3.8 : The LinkButton Control
3.9 : The CheckBox Control
3.10 : The CheckBoxList Control
3.11 : The RadioButton Control
3.12 : The RadioButtonList Control
3.13 : The Table Control
3.14 : The Panel Control
3.15 : The Wizard Control
3.16 : The View Control
3.17 : The MultiView Control
3.18 : The Substitution Control
3.19 : The Calendar Control
4.3 : Range Validator Control
4.6 : Custom Validator Control
Comments
Post a Comment