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 }); }
Introduction
Feed back is a system, through which we can communicate to the website owner. Generally this system is designed for various purpose, such as quality checking in supply chain management, suggestion etc. If we talk about quality checking then simply say that feed back is given by the customer if he/she is either satisfied or not. But if we talk about article feed back then you simply say that comment is the best idea for it.
How to implement it:
First to design the comment box with the help of some controls and their properties. If you want to complete the first step then should see the below mentioned video:
After design it, you should connect all required control with the back-end store table. In this example i have a repeater control and here i bind this control using eval( ) method, if you want to do this, please see the video:
Bind the repeater control with the help of SqlDataSource control in asp.net. Repeater control is best control for comments, By this we can display list of items. If you want to see the feed back then check it mentioned video:
Comments
Post a Comment