ASP.NET MVC - Implementing Search Functionality
I've implemented a search to filter out records by LastName but it doesn't work; basically it does nothing. I have Googled and tried using several code sample but not been able to use them since I get syntax errors. How do I get the search to…
PDF File not opening in modal popup in asp.net using embed
I am unable to open the pdf file which is located in file server path through modal popup. pls. find below code. <script type="text/javascript"…
How to update a List in a View und refresh the View with the updated List in ASP.NET?
In my Controller I read data from a Excelfile and compare this data with data from the database see: `[HttpPost]` public ActionResult UploadWöchentlichesUpdate(IFormFile excelFile) { if (excelFile != null &&…
![](https://techprofile.blob.core.windows.net/images/MxBLrky2rESG0hes4GqOKQ.png?8D92C1)
My.NET 4.7 MVC 5 project website displays its file listing, but it should show the home page of the project
Hi, I am not sure what could cause my website to display the projects file listing instead of the intended home page? During the upgrade, here are some packages I had to install : PM> NuGet\Install-Package Microsoft.AspNet.Mvc -Version 5.3.0…
Loader Page
Respected All, please see below image i want to put loading page before Mvc Actionresult return view. so can u please suggest me how to do it ??
How to stop just one web application running under "Default Web Site" in IIS 10?
I have IIS 10 running several web applications under "Default Web Site" I want to just bring down one application. How do i do that? This is an asp.net web forms web application running .net framework 4.8 Note: I am not wanting to shut down…
DriveItem AdditionalData Patch method with error in Graph Api
I'm creating an API with ASP.NET Core that accesses a list/drive with the graph api and at some point I need to update an item that was created in the drive library to add an ID (which is a custom column), but I'm getting an invalid request error, can…
REST interface, server for GET,PUT,POST,DELETE
Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…
How to open pdf file in modal popup in ASP.NET C#
I am developing ASP.NET application. i used gridview to insert, update and delete the data. Also, i am uploading documents in file server path. now, i am uploading all the documents as pdf and in past days i have uploaded document as image. Now and…
could not load file or assembly'Microsoft.data.sqlclient'
how to solve this error
Format Column Header - Asp.net MVC
How do I format the column header FirstName to display as "First Name"? <th> @Html.DisplayNameFor(model => model.FirstName) </th>
![](https://techprofile.blob.core.windows.net/images/MxBLrky2rESG0hes4GqOKQ.png?8D92C1)
https for just one aspx web forms application?
We have a legacy web forms .aspx web application installed under "Default Web Site" is it possible to enable https: for just this web application ? given that there are other web applications deployed under "Default Web Site" All the…
SQL connection and transaction Idle Time
Hi, I am having a asp.net core application, which opens a sql connection and running commands in a sql transaction. The transaction might take overall 15 minutes to complete, The connection and transaction might be idle as we sleep the current thread for…
How to make readonly in Gridview textbox calendar controls in Footer Template
I am developing web based application. i used gridview and it contains Footer Template for input entry. almost i done all the functionality. but, for the validation especially for footer template i need help to solve this. how to make readonly gridview…
*MVC4.7 and EF EDMX 6 to MVC5.3 and EF? Migration confusion
Hi, I am confused. I have an MVC4 project using EF EDMX 6.0.0.0. I need to upgrade my MVC4 to MVC5. I understand that because upgrading from MVC4 to MVC5 is different for every project, especially the versions they are upgrading from MVC4 (4.?) to MVC5…
How to maintain file upload values in session while editing and updating Gridview
I have developed and discussed a lot about the file upload and we were maintaining the upload file in session and data table I used session for time being for gridview footer and emptydata template. i want the same logic have to be implement for…
Getting error while finding control in Footer Row Gridview
I am getting error while binding data in dropdown in gridview footer template. Pls. help us, how to bind dropdown values inside the gridview footer template. getting below error.
How to insert new,update, delete existing record in single row of gridview
I am developing ASP.NET application and i am using gridview in that. Here, i am not using any textbox controls outside of the gridview to save the record. everything i want to maintain in same row of the records. for example, when page load, if any…
how to show image2 in gridview
Hello This is my aspx page <asp:TemplateField HeaderText="IMAGE1"> <ItemTemplate> <asp:Image ID="Image1" runat="server" /> </ItemTemplate> …
How to pass values from a Razor page to an Asp.Net MVC controller
I am working on an Asp.Net Core MVC project. The identity was scaffolded and uses Razor pages. When the user enters the username and password, if they are valid, they will be redirected to an MVC controller where they have to answer a security question.…