0

I am developing an ASP .Net MVC 3 application using C# and SQL Server 2005.

I am using also Entity Framework and Code First Method.

I have 2 views that populate the same controller : Index.aspxand Gestion.ascx

Each view has a submit button which execute a method in the controller :

  • Button Enregistrer (Index) ==> Save()
  • Button Valider (Gestion) ==> Valider()

When I start the project I create only the button Enregistrer and the Save()methode. That's was perfectly works ! ( save some values in a list).

But when I add the button Valider and the Valider()methode, nothing works, the 2 buttons became static (dead).

So I put a breakpoint in each method, and I execute.

I find that when I click on Enregistrer

anouar
  • 317
  • 4
  • 25

1 Answers1

0

If you post your HTML I think you have a much better chance of getting an answer, I can't see why your form wouldn't at least submit

jazza1000
  • 4,099
  • 3
  • 44
  • 65