Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code behind unlinked from controls
Message
From
08/06/2012 02:32:02
 
General information
Forum:
ASP.NET
Category:
Web forms
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01545629
Message ID:
01545639
Views:
42
>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform