Webpages Chart for .NET 5 – Asp.net
I need to easily build simple charts. My idea was to use the Microsoft chart class to do so (as they have a very good tutorial on the subject). But this causes problems as I build a MVC webapp using…
I need to easily build simple charts. My idea was to use the Microsoft chart class to do so (as they have a very good tutorial on the subject). But this causes problems as I build a MVC webapp using…
I am trying to figure out how I can pass my returned value to the view without any exceptions. I'm having hard time passing my bool value due to it's async to my view model. Controller [HttpGet] [ChildActionOnly] public async…
I have a asp.net core mvc project. In my layout file, I want to display the name of the currently logged in user, such that the username is displayed in the header. For this, I want to be able to…
In my view I'm displaying a table and in table I strongly typed dropdown list and as you change selected item it calls getPrice(int product_id) function through ajax call and returns price of selected item but it only works for…
I have a project that I am working on that was done in ASP.NET MVC 5. They used the default URL structure that comes standard with the framework. For example, the AGM page was constructed like this: Controller: Home Action…
I am trying to create this list in c#, add this is what I am at now public static List<string> GetCurrentTime() { var start = DateTime.Today; List<string> L = new List<string>(); var clockQuery = from offset in Enumerable.Range(0, 48) select…
This is the error I am getting in my console; GET http://localhost:1089/api/Employee/EmailAlreadyExist?%[email protected]%22 404 (Not Found) This my ajax code where I am sending the user email while creating a new user, and I want this method to let me know…
My application is MVC 5, using Kendo UI Jquery editable grid. One of the column is a dropdownlist using: { field: "ApplicableCourse_ID", title :"Course", values: myDDL1 } I use the following Ajax to generate the values array myDDL1 $.ajax({ url:…
I am learning ASP.NET coming from a Node.js background. When I create a new MVC project, I can choose to have built-in register/login. This gives me the following views, where I can register and login. But I am confused as…
I'm a beginner to ASP.NET MVC. I want to update login user profile and I am having a problem. my code says model state is not valid. I've tried every possible solution which I know and also searched on Google.…