Visual Stuio 2022 Bugs

Jose Saiz 21 Reputation points
2022-04-04T17:22:05.42+00:00

HI Guys,
Does anyone have any idea how to fix the new visual studio 2022 bug?

Explain
When I add more than 2 Buttons regardless <ASP:Button OR <ASP:LinkButton that I add to the form only 2 works the 3rd one does not work, the button shows on the form, but it does not execute the behind code. I am not sure this is relevant I am using Bootstrap 3.X theme with masterpage, .NET Framework 4.6 and web base pages. I recently updated my visual studio 2022 64bits to the latest update 17.1.3 and still the same. Tried debugging the code with a break on the code it does not even stop by or recognize it.

Your help is much appreciated

Thanks

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,280 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,289 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,125 questions
{count} votes

Accepted answer
  1. AgaveJoe 26,141 Reputation points
    2022-04-04T19:48:13.227+00:00

    no bug in code.

    Visual Studio is an editor and has very little to do with how a submit button works. You can write the code in notepad. Share you code if you want the community to find the mistake in your code. We need the code behind and markup.


2 additional answers

Sort by: Most helpful
  1. AgaveJoe 26,141 Reputation points
    2022-04-04T17:31:37.707+00:00

    Confused... adding a button does not wire up an event handler. Anyway, I tried to reproduce this issue but was unable to do so.

    Share you code behind and markup so we can see how your code works.

    0 comments No comments

  2. Bruce (SqlWork.com) 56,771 Reputation points
    2022-04-04T18:53:53.663+00:00

    it would be a bug in your code. to work the buttons must be in a form. show your form code.