GraniteHouse
GraniteHouse copied to clipboard
Problem displaying the textbox for the Image Path
When I created the Areas/Admin/Views/Edit.cshtml file, I noticed a difference in how your page is displayed, compared to mine. For the image path, I don't show a text box with the path displayed in it, just the button, and then the label "no file selected." I looked at the variable in the code, and the variable for Products.Image is filled with the correct path, but it doesn't display. I made sure all the bootstrap and Javascript files match, but that didn't solve anything. Do you know why my project doesn't display the image path like yours does?
It looks like you use Chrome. Open it with Edge
The solution probably won't work width Edge/Iexplorer (they usually dont allow cookies from localhost ) There can be slight differences in how Chrome / Iexplorer / Fiirefox / .... etc Neither did I had a path shown when uploading images, but for the rest it all worked. I'm using Firefox / chrome.
I failed to test in IE and Edge. It was indeed a difference in browsers. Thanks for answering!