16,190 questions
Advice
1
vote
1
replies
54
views
Highsoft.Highcharts .NET wrapper v11.4.6.3 silently drops ChartEvents.Load string handler — worked in v11.0.1.1
I'm using the Highsoft.Highcharts NuGet package in an ASP.NET Web Forms application targeting .NET Framework 4.8.
After upgrading from Highsoft.Highcharts v11.0.1.1 to v11.4.6.3, the ChartEvents.Load ...
1
vote
4
answers
153
views
ASP.NET WebForms: page data not cleared after redirect when returning with browser back
I have an ASP.NET WebForms page where I clear all page data and then redirect the user to another page:
protected void btnNavigate_Click(object sender, EventArgs e)
{
ClearPageData();
Response....
1
vote
1
answer
50
views
Getting the current Windows user in of session_start in IIS of an ASP.NET webforms app
I've got an old ASP.NET webforms app that I need to make some modifications on. The app uses Windows auth, so it doesn't use a standard login page. In the session_start event in global.asax, I need to ...
0
votes
0
answers
37
views
ADFS WS-Federation ignores wreply on signout — redirects to default logout page instead of my app
I have an ASP.NET Web Forms application using OWIN + WS-Federation against an ADFS 2016/2019 server. After signing out, ADFS always shows its own "Déconnexion / Vous vous êtes déconnecté." ...
0
votes
1
answer
99
views
ASP.NET webforms Ajax to pass data from aspx to code behind
I need to pass some data from an .aspx file to its code behind file.
<form id="form1" runat="server">
<div>
Name : <input type="text" id="...
1
vote
1
answer
89
views
Winform loading WebUrl not determine whether is Browser or WinForm
I have an ASP.NET Webforms framework 8.0 that is working fine but I would like to load the Web Url where my webform is hosted in a Winforms app and determine whether the webform url was loaded from ...
0
votes
0
answers
36
views
CCAvenue test simulator not sending encResp to ASP.NET WebForms response page
I'm integrating CCAvenue (test environment) with an ASP.NET webforms app. Payment initiation works, but when the user is redirected back to my response page, the encResp parameter is never received.
...
0
votes
0
answers
33
views
CCAvenue encResp not received in ASP.NET WebForms; POST converted to GET
I'm integrating CCAvenue payment gateway with my ASP.NET WebForms application (.NET 4.8).
The payment request works fine, but when CCAvenue redirects back to my response URL:
https://xyz/...
0
votes
0
answers
28
views
Edit autogenerate columns in telerik UI
I am trying to inline edit multiple rows in autogenerated columns from radgrid below is column created and itemcreated methods I wrote for that.
Here, I created manual templates as you can check in ...
1
vote
2
answers
87
views
How do I refresh an Okta OIDC token in an ASP.NET Web Forms application?
I have .NET Framework 4.8 ASP.NET Web Forms application that is secured by OKTA via OAuth 2.0/OIDC. I used the Okta.AspNet library. And I used this sample app as a guide to integrate Okta into my ...
0
votes
1
answer
131
views
ASP.NET WebForms still loads old jQuery from ScriptResource.axd after upgrading to jQuery 3.7.1
Our security team flagged an issue indicating that an older jQuery version appeared to be loaded in our application.(ScriptResource.axd)
I am working on an ASP.NET WebForms (.NET Framework) ...
0
votes
0
answers
98
views
HttpContext.Current.User.Identity.Name is null sporadically
I'm using .NET 4.7.2, ASP.NET webforms and forms authentication. Everything works fine for the normal forms authentication where the user enters their credentials on the login screen.
However, after ...
0
votes
0
answers
76
views
ASP.NET WebForms: Adding StaticFileModule Rule for XML causes “Duplicate Entry” error and breaks Index.aspx
I'm running into a specific issue with my web.config when trying to serve XML files.
As soon as I add this rule:
<add name="XmlFile" path="*.xml" verb="GET,HEAD"
...
Advice
0
votes
2
replies
85
views
Use items from local storage to pre-populate a webform
I am new to HTML, CSS and Javascript.
I am building a website that has a shopping cart feature and I am able to list my products, and and remove to the shopping cart and have the UI update the ...
0
votes
1
answer
104
views
My Ajax web method call in C# keeps showing an error: "401 Unauthorized"
I'm trying to call a simple static WebMethod in my ASP.NET Webforms page using jQuery Ajax, but it doesn't seem to be working. I've tried enabling anonymous authentication and other fixes suggested ...