.NET NEWBIE - EASY QUESTION

G

Guest

I have been programming in ASP for years and am making the move to .NET and am having a problem. I have an item on a form that i am validating against and i am receiving the following error message. What am i doing wrong

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30456: 'LoginBtn_Click' is not a member of 'ASP.login_aspx'

Source Error

Line 58: </tbody
Line 59: </table
Line 60: <asp:button id="LoginBtn" onclick="LoginBtn_Click" runat="server" text="Login"></asp:button
Line 61: <p
Line 62: <asp:Label id="Msg" runat="server" forecolor="red"></asp:Label


I am developing with Web Matrix if that helps. Thanks
Ryan
 
M

Matthew Sajdera

I believe this means your button is not between the <FORM> tags.


Ryan Smith said:
I have been programming in ASP for years and am making the move to .NET
and am having a problem. I have an item on a form that i am validating
against and i am receiving the following error message. What am i doing
wrong?
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific error
details and modify your source code appropriately.
Compiler Error Message: BC30456: 'LoginBtn_Click' is not a member of 'ASP.login_aspx'.

Source Error:

Line 58: </tbody>
Line 59: </table>
Line 60: <asp:button id="LoginBtn" onclick="LoginBtn_Click"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top