webforms Questions

11

Solved

I have an internal application that I needs to have a drop down list for two date type elements: Month and Year. These values are not in a database or other repository of information. I know...
Popular asked 1/5, 2009 at 17:21

8

Solved

I have a form for uploading images. I'd like to disable the submit button, until user selects an image to upload. I'd like to do it with jQuery. Currently I have a JavaScript function that prevent ...
Gerigerianna asked 29/10, 2010 at 22:24

4

I want to add custom headers (Bearer token) to each http call in a ASP.Net Web Form application. Using the recommendations in the following links, I added the code to send added headers to the ser...
Rutilant asked 7/5, 2019 at 20:22

1

I have a listView which display data from a SQL table so far so good, also I have a form that enter data into it, in that form there is a dropdown(ID:DDL_code)that is populated from another table. ...
Flopeared asked 19/4, 2024 at 12:49

16

I have a JavaScript function which fires on blur. Strangely enough it worked fine the first time I ran it, and ever since then I've been getting an error that says JavaScript Function Not Defined -...
Obligee asked 10/2, 2017 at 22:21

6

Solved

What property do I use on the required field validator control to make the textbox red if there is a validation error? Here is my code: <asp:Label ID="lblFirstName" runat="server" AssociatedCo...
Coolth asked 20/1, 2014 at 15:31

3

Solved

Can a Page_Load() method be async? I ask as if I have declared as such protected void Page_Load() Everything loads as it should. If I have it declared as such protected async void Page_Load() ...
Novocaine asked 9/3, 2016 at 18:34

2

How to prevent CSRF (Cross-site Request Forgery) attack in ASP.NET WebForms? Is there anything like [ValidateAntiForgeryToken] in ASP.NET MVC?
Jeniferjeniffer asked 6/7, 2010 at 4:31

2

I'm making a mobile website, using jQuery Mobile and ASP.NET 4.0 Webforms. I have made an initial login page (Default.aspx) in which the button calls an ajax JavaScript function, which calls a page...
Forenoon asked 7/4, 2012 at 18:27

4

Solved

.NET 4.51 Webforms VS2013 Update 1 I started with a brand new Web project selecting both WebForms and MVC support. Been working on it for a couple of days locally with no problem. However now th...
Hoskinson asked 16/3, 2014 at 9:34

16

Solved

About 6 months ago I rolled out a site where every request needed to be over https. The only way at the time I could find to ensure that every request to a page was over https was to check it in th...
Thousandfold asked 5/9, 2008 at 23:34

2

I'm using webpack to modernize a legacy multiple-page ASP.NET Web Forms application. I've had pretty good success with it up till I tried using the SplitChunksPlugin to de-dupe my bundles using its...

3

Solved

I am trying to add custom error pages to my web application. So far I have added this to my web.config file under the element: <customErrors mode="On" > <error statusCode="404" redirect=...
Baddie asked 13/7, 2011 at 10:39

1

I have tons of [WebMethod] in whole application and I want all my [WebMethod] to be async. I decorated all my[WebMethod] signatures with async and await keywords and then I run my app. It didn't wo...
Thursday asked 30/1, 2017 at 10:55

13

Solved

Is there a way to convert a Dictionary in code into a url parameter string? e.g. // An example list of parameters Dictionary<string, object> parameters ...; foreach (Item in List) { param...
Derose asked 7/5, 2014 at 13:18

1

Solved

There are two ASP.NET Web Form App under one domain by using virtual directory EMR and EMRSSO in IIS server: https://test.xyz.com/emr https://test.xyz.com/emrsso When I enter URL in browser for htt...
Consolidation asked 12/5, 2023 at 6:12

27

Solved

I have a VS 2005 web site that I publish using "Publish Web Site", and I clear all the three checkboxes. I also have a deployment project that picks up the published files and creates an MSI. I the...
Vendor asked 2/3, 2009 at 12:21

6

Solved

Hi I have used gridview to create a table. Is there a way to implement edit and delete. I have done it in PHP before. The method I would like to use is create two more columns in the table with e...
Nickynico asked 24/4, 2016 at 18:20

1

Solved

I have 2 different project. I created web apis project in ASP.NET CORE 3.1 (MVC). Another I created ASP.NET webforms website (.NET Framework 4.8). I am unbale to call .NET Core web apis from webfor...
Humo asked 8/3, 2023 at 12:13

4

Solved

Why do the following result in a true if clause even though the textbox is empty and not even touched on a postback? : <form action="Default.aspx" runat="server" method="post" id="newform"> ...
Linneman asked 3/1, 2012 at 12:23

5

Solved

I've set a breakpoint in the following WebMethod but I'm never hitting the breakpoint. cs: [WebMethod] public static string search() { return "worked"; } aspx: function search() { $.ajax({ ...
Duchy asked 3/8, 2011 at 14:57

2

Solved

We want to get an ILogger instance so that it can be passed to other library. We tried below, but the ILogger instance does not log into Application Insights. It logs into Event Viewer successfully...

2

Weird goings on with my VS2013 projects. I recently upgraded one of my project branches from .NET 4.0 to 4.5.1 and used NuGet package manager to install MVC 5 with Razor so that I could have a WebF...

13

I want to create an input type text in my web form dynamically. More specifically, I have a textfield where the user enters the number of desired text fields; I want the text fields to be generated...
Silassilastic asked 13/4, 2011 at 22:23

6

Solved

The Problem: When you use session in an ASP.NET site, it causes dramatic delays (multiples of 500ms) when loading multiple requests at nearly the same time. More Specifically, My Problem Our web...
Lorelle asked 1/12, 2011 at 22:11

© 2022 - 2025 — McMap. All rights reserved.