Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

category dropdown seems not working #3

Open
MarkyCSVGit opened this issue May 26, 2020 · 2 comments
Open

category dropdown seems not working #3

MarkyCSVGit opened this issue May 26, 2020 · 2 comments

Comments

@MarkyCSVGit
Copy link

Hello Gill, I hope you're doing well and safe.
I follow you're tutorial for my own project and I'm using asp.net core 2.2
I was just wondering why the category dropdown seems not able to work using Tag helper.

see attached screenshot

image

@jgess1
Copy link

jgess1 commented Jun 10, 2020

Same issue for me too, on using asp.net core 3.0.

2020-06-10_122422

In VS 2019, the "Index" in the Default.cshtml says it "Cannot resolve action 'Index'.

2020-06-10_122654

@jgess1
Copy link

jgess1 commented Jun 10, 2020

It looks like the issue is with the Bootstrap files used locally in the project. When I linked to the external sources the drop down worked correctly.

Put this in your _Layout.cshtml file instead of pointing to the local jquery and bootstrap:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants