Category "asp.net"

How do I serialize an object into query-string format?

How do I serialize an object into query-string format? I can't seem to find an answer on google. Thanks. Here is the object I will serialize as an example. pu

How to grab HTML elements in aspx.cs file (checkbox) C#

Let's say I have I have something along the lines of (in my aspx file): <input name="chk" id="cbox1" type="checkbox"> <input name="chk" id="cbox2" typ

Uncaught Reference Error: Activexobject is not defined

I am using the activexobject in my project it works fine in IE. I know this is the microsoft control. I want to run the project in Mozila and Chrome but it show

Export to Excel for telerik radgrid

I want to export current date along with radgrid data to the excel sheet. How can I do this? For exporting radgrid I am using following code: public void Expo

Dynamically add Image into asp.net c# gridview

I would like to display image inside a gridview. My gridview is being filled like This: Front: <asp:GridView ID="GridViewProduct" runat="se

Opening/Closing a Database connection in an apsx page for an IVR system

I am currently developing an IVR system, my question is more on a development side of basic architecture and opening/closing a database connection. As you can

Request format is unrecognized for URL unexpectedly ending

hi experts i am having a problem when i try my web service on a local machine it works fine but after i uploaded it and run on a hosted server windows server

onclick method not working in Blazor server-side razor component

I am building a sample razor component, and I can not get my button onclick method to fire. When I click the button nothing happens at all. I have even placed a

How to fire click event of the LinkButton in gridview and Show PopUp window in asp.net

I have tried to build one gridview with dynamic columns based the data source using the template fields in asp.net through code behind. For that, to implement

Alternative to event.srcElement.id

Currently I have a function that works perfectly for IE, Chrome and Safari in order to get the ID name of a textbox I'm placing a focus on within a Gridview. f

Performance Considerations of Microsoft Application Insights?

I couldn't find any information about an async implementation of application Insights, specifically the TelemetryClient for Microsoft.ApplicationInsights Nuget.

Problem with configuring ssl certificates in asp .net core API

I have the following certificates Certificates I want to configure my asp .net core web API to use these certificates in order to use https redirection. I am us

Problem with configuring ssl certificates in asp .net core API

I have the following certificates Certificates I want to configure my asp .net core web API to use these certificates in order to use https redirection. I am us

Unable to start process dotnet.exe

I am attempting to setup a new work space and transfer all of my projects from my old computer to the new one. However, I am getting this error when I try to r

How to add project reference to ASP.NET Core 1.0 MVC project

I have a ASP.NET Core 1.0 MVC app in solution X and I have some common projects (.net 4.5.2 class libs) in solution Y. I want to reference the projects in solu

How to change Text of button in FileUpload control and set value to textbox

Hi I want to upload file using c# but want to display as below image. I want to change the text of button from default “Browse” to “Upload&

Create HTML table from a list

I am trying to get some values from a List and then create a html table with this data but I can't get it to work properly. I have: HtmlTable table = new HtmlTa

How to use jquery in ASP.​NET Core

I created a ASP.NET core template and wrote a jquery script. When I look at the page I see that jquery is loaded into the page, but the script doesn’t run

No authentication handler is registered for the scheme 'Cookies'. The registered schemes are: Application, Bearer, ASOS

I am implementing Aspnet.security.openidconnect (ASOS) with .net core 2.1 application. Now the issue is when I am trying to execute this chunk in controller,

EntityDataSource - how to do WHERE Clause from different table

Hi I am using EF 4 and EntityDataSource in a Page (WebForms). This page contains a DropDownList that display UserName. Data from this DropDownList it is from "