Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code behind unlinked from controls
Message
De
08/06/2012 02:32:02
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Divers
Thread ID:
01545629
Message ID:
01545639
Vues:
43
>This problem is driving me crazy - I have an old web project that I need to make some changes to. However, I have a couple problems: the first is that when I double-click on a web control (i.e. asp:button), instead of going to the relevant code-behind procedure, it jumps to the top of the asp.net page, adds a script tag and proceeds to add the proc there.
>
>I have tried a couple things, such as deleting the button and re-adding, removing the onclick=login1_click in the asp button and using a handles statement in the vb code. As far as I can see the page should be wired up to the code. Is there some metadata that could be corrupted? It simply doesn't act correctly...

You say this is an asp.net button but the behavior you are seeing is what I would expect from an HTML Input button.
Which is it?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform