I have some files stored on my machine. When a user wants to generate a link the page should generate a hyperlink. This hyperlink can be used by any other user
I am trying to convert numeric numbers to words in vb.net. But somewhere I am getting Type Expected error. Below is my entire code. I am also putting code separ
I have an MVC4 site, with (as part of a hidden form): <input name="somefield" type="hidden" value="@ViewBag.Test"/> The value of ViewBag.Test is true.
I'm learning to use .NET Identity. I have to authenticate to Active Directory. For that purpose I am trying to use ActiveDirecotoryMembershipProvider. I have to
I have the following code for uploading a file in my site: @using (Html.BeginForm("UploadProfileImage", "Member", FormMethod.Post, new { @encType = "multipart/
I am getting following error while attempting to execute the package. I can execute individual task successfully. But whenever attempt to execute whole package
I see these lines of code in some professional developer's project: <a href="###"> ... </a> What is the use of three # instead of one?
I have the following code: <script type="text/javascript"> window.onload = function () { window.scrollBy(0, 100); } </script
I have some historical code that's using event.returnValue = false to prevent CR from causing a post back in an ASP.NET via the onkeydown event: onkeydown = "if
I migrated an ASP.NET CORE MVC project from .NET Core 2.1 to .NET 6. After making relevant changes, the project compiles and starts seemingly OK, but the views
I'm after what seems to me to be a straightforward pattern for handling page refreshes when I've got a drop-down that reacts to the onchange event. I've used th
I am working on ASP.NET C#. With Javascript, I need to change the value of a textbox, when another text box value changes with the ratio of 3:2. For example
For the first time I'm creating Authorization in ASP.NET Core. I used tutorial from here TUTORIAL The problem is when I sending request from postman: Authori
Problem: I have a asp.net button and on click of that I am displaying another window using window.open() at the client side using <script></script>
I have recently changed machines at work, and a long-standing web project now refuses to open in Visual Studio. The error log reads: "The Web project 'xxx' is
I'm creating an error log for a webpage. I need a way to get the parameters from a SQL Command to output to string so that the parameters passed through keep th
I am using this code for preventing user to leave the page if there is any changes on the form in SharePoint FarmApplication <script> var formDirty
I've got a grid view which uses a "If e.Row.RowType = DataControlRowType.DataRow" to calculate the total of a column and hold this in the footer. Protected S
I have a scenario that has been troubling me for years. If you have to connect to a database or other service (like a web service) using a username and password
I am trying to implement Content-Security-Policy with the NWebSec NuGet package The basic configuration level is working at this moment but trying to add nonce