9292 1
ViewBag data from controller is not visible in Partial View

I am passing Select List from ViewBag in controller to partial View, like I used to do , but it is not showing SelectList on partial View when code is pushed on server, while it works when running code locally, here is the code

Controller

...
Type
Question
9179 0
Using Chart in ASP.NET (Pie chart in ASP.NET)
In this article, I have explained and provided example to create dynamic pie chart in asp.net using database data and asp.net chart control.
Type
Article
9106 1
Change Password in ASP.NET MVC identity, without old password?

I was trying to change password in MVC and looked at the link "How to change password in asp.net mvc" but it requires me to add Old password, which I don't want, so if I am admin user of website, I would like to change password in MVC asp.net identity without using old password, how can I achieve that?

...
Type
Question
9076 2
How to add windows authentication sql server connection string in Web Config?

I am currently using Entity Framework in my ASP.NET MVC web application, I would like to use windows authentication in SQL Server string, so how can do it?

Currently, I have web.Config configuration using username/password of SQL Server in the connection string as below

...
Type
Question
9020 0
Redirect from non-www to www website using IIS (and Vice-Versa)
In this article, we will see how we can redirect from non-www website to www website url using IIS URL re-write feature or using web.config.
Type
Article

8960 1
Clicking on browser back button after login shows login page again??

How can I maintain the session of the user in ASP.NET MVC? Here is the login case for the user. (Only authenticated users are allowed to login in the system.) But once the user gets logged in and press the back button then the user needs to login again. I want to solve this issue. Can anyone have idea about it?

...
Type
Question
8945 1
How to debug in visual studio? ( Tutorial to debug C# code )
In this article, I have explained how you can debug your code in visual studio, line by line and make developer life easier using visual studio debugging tool.
Type
Article
8922 1
Getting error "Child actions are not allowed to perform redirect actions" in MVC

I am using ASP.NET MVC and trying to use HTML.RenderAction to render partial View, inside Main View, but getting error as "Child actions are not allowed to perform redirect actions."

Here is my .cshtml code 

...
Type
Question
8904 2
How do I update .edmx file to get new columns in Visual Studio 2017 (ASP.NET MVC)?

I was trying to update my .edmx (ADO.NET) file to get updated or you can say newly added columns, but I wasn't able to get it, what is the proper way to update  or refresh the model to get new database table columns, when the database changes.

I do not want the process of deleting the complete Models and again adding them from database.

...
Type
Question
8812 2
Create dynamic month/year calendar attendance sheet in .NET MVC

Suppose I have a database table of 5 employees. I also have the attendance of those employees(Present and Absent data). I know how to use the fullcalendar.js. But what I want is, I want a fullcalendar esce monthly attendace sheet like below one with changable month and year. Is it possible?

...

Type
Question

Page 13 of 31