Asp.net core mvc optional parameter for Index
im currently trying to create a Controller in ASP.net core mvc with an optional parameter “id”.
Im fairly new to asp.net, I’ve tried to check other posts but nothing solved my problem.
im currently trying to create a Controller in ASP.net core mvc with an optional parameter “id”.
Im fairly new to asp.net, I’ve tried to check other posts but nothing solved my problem.
It seem that debugger doesnt enter at all at the success function. The dropdown im trying to populate is part of a modal in /Dokument/Dokument route when i press a button i get a modal with some fields. One of the fields is a dropdown which has to get values from Tipi table. In the dropdown I see nothing not even the message
I want user’s latitude and longitude to be updated on every page visited. In order not to duplicate things, I created a base controller where I also implemented the onActionExecuting which allows the method to run every time on every action from the derived controllers, but I can’t figure out how to pass the latitude and longitude parameters since they are only passed from the browser through an Ajax call.
I have a problem with getting identity primary key from a logged user with using sql queries without Enity Framework.
So when i put login and password of user from my database UserDataController copy UserEmail (login) to WorkSpaceController and put it in public ActionResult UploadFile(string useremail) in useremail data. So I can use it in query in WorkSpaceController to get an ID with this email. But the problem is I can’t use UserID that i got as a parameter for insert query. Look at the code below
I have struggle with adding the grouped data table with linq query to model property.
I use HttpRequestMessage my model is some different VirtualStock. My API JSON model as below
I’ve been looking at the twitter api calls and I was going to use
I have an ASP.NET MVC e-commerce application. Our help desk report me some chrome browsers have problems with our site. I found the problem but i cannot solve the problem. The problem is some chrome browsers not set session cookie. There is no cookie for session and the application use session of course so the application doesn’t properly on some chrome browser. You can see my session setting at below.
What can i do? I don’t solve the problem.
Please how can i make use of the html.actionlink() without having the String LinkText Underlined.
Relatively new to ASP.NET and I’m having issues with validations within partials. At the moment, on submit even when Model.IsValid is false the errors aren’t being displayed within the partial view form. The Modelstate is passing the errors back to the parent view from the controller which I have break pointed to see in the ViewData.