4367 2
How to bind a dropdownlist to a bootstrap datepicker

Suppose I have a Dropdownlist where the items are coming from database in MVC. Now inside the table from where the Items are coming, there is also a Datetime Field. Those dropdownlist entries are list of employees and entered in a particular date. Now what I want, is, I want to populate that dropdownlist based on another datetimepicker in another view. When I will be selecting a date, the items entered on that day will only be shown in my dropdownlist. How can I do that?

...
Type
Question
4324 1
Return User to login page, if user doesn't "Allow" facebook permissions in ASP.NET Core application

Hi, I have created an app at Facebook developer page and configured that with my Identity server application URL. Identity server4 application is built in asp.net core.

When user enter the website and tries to connect it using his/her Facebook account, then my app created under Facebook developer ask him the permission to allow the app to receive her information like email adress, age, etc, when user cancelled the permission he is redirected to page "Account/Login" I have followed the steps in this link : https://qawithexperts.com/questions/387/access-denied-when-permission-of-app-to-my-application-is-de

...

Type
Question
4307 2
Difference between LocalDb and SQL SERVER Software?

What is the difference between creating database inside localDb in visualstudio and creating database in sqlserver and joining it in VS .

...
Type
Question
4275 3
Access denied when permission of app to my application is denied with Facebook authentication in asp.net core

Hello. 

I have created an app at Facebook developer  is built in asp.net core . I have a client set up to be authorized with that IdentityServer.
Now when i try to access a secure resource on client application, identity server redirects me to my identityserver website. There i try to authenticate via Facebook . After logging in, Facebook  asks for the persmission that my identityserver needs to access . If i allow there, it all works fine .
But the issue arises when i click deny, then Facebook  app redirects to my identity server website with error="access_denied" in querystring and my identityserver website throws exception
regarding that access denied error.

How can I handle that situation given the fact that I do not allow the application to access information at Faceboook? Thanks.

...
Type
Question
4233 2
how to show custom errors in C# MVC

I would like to show custom errors in my Asp.NET MVC C# application, how can i achieve it?

...
Type
Question

4220 1
How to add, edit & delete data into database using treeview with checkbox in ASP.NET MVC with entity framework.

How to add,Edit and delete data into database using treeview with checkbox in ASP.NET MVC with entity framework.

...
Type
Question
4169 1
Can we use Nested switch case in C# or switch case under if else case in ASP.NET C#?

Hello,Can we use Nested switch case in C# or switch case under if else case in ASP.NET C#? If yes, can anyone provide an example? I have been successfully able to redirect users to certain pages depending on the basis of the ratings. Now I want to redirect them depending on the basis of the ratings as well as DestinationID. I have attached the code for redirecting users depending on the ratings done by them.

...
Type
Question
4136 0
jQuery Autocomplete Textbox in ASP.NET Core MVC
In this article, I have mentioned how you can create jquery autocomplete textbox using ajax in ASP.NET Core MVC
Type
Article
4063 1
removing a particular row from the table using MVC C# throws an error

I am trying to delete a row from database in asp.net MVC C# using the code below

...
Type
Question
4052 0
Difference between Visual Studio Build, Re-build and Clean, solution
In this article, I have provided explanation of what is difference between Visual Studio clean, build and re-build options and when to use them.
Type
Article

Page 24 of 31