Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7602583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T23:26:54+00:00 2026-05-30T23:26:54+00:00

I am facing a strange problem here. I have two projects, each of them

  • 0

I am facing a strange problem here. I have two projects, each of them has some webpages.
Initially i did not attempt User Account Creation and Login. However i just wanted to be able to start a process on a Button Click Event which worked fine.

However in my new project [where i have used User Login], i simply am not able to create any handlers, here is my code for the page its not working:

<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site1.master" AutoEventWireup="true"
    CodeBehind="~/Default.aspx.cs" Inherits="Default" %>


<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style1
        {
            width: 100%;
            background-image: url('../Images/dl.jpg');
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent" >
    <h1>
        <span class="input">Welcome to the members-only page.</span>
    </h1>
    <h2>
        Start Client Side Application.
    </h2>
            <asp:LoginView ID="LoginView1" runat="server">
                <AnonymousTemplate>
                    <span class="input">&nbsp;You are not logged in. Click the Login link to sign in</span>
                </AnonymousTemplate>
                <LoggedInTemplate>
                    <span class="input">You are logged in. Welcome, </span>
                </LoggedInTemplate>
            </asp:LoginView>
            <asp:LoginName ID="LoginName1" runat="server" />
            &nbsp;&nbsp;

            <table class="style1">
                <tr>
                    <td align="center" valign="middle">
            <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        Click on This Image Link To Start The Application<br />
                        <br />
                        <asp:ImageButton runat="server" ID="ImageButton1" Height="100px" 
                            ImageUrl="~/Images/rdi.jpg" />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                    </td>
                </tr>
            </table>
            <asp:LoginStatus ID="LoginStatus1" runat="server" 
                LogoutAction="RedirectToLoginPage" BackColor="White" 
                Font-Underline="True" />

</asp:Content>

What is the workaround for this? In fact i just noticed that the event handlers work for another webpage within the same project but not this one.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T23:26:56+00:00Added an answer on May 30, 2026 at 11:26 pm

    Sometimes (although rarely) the auto-generated “aspx.designer.cs” file can cause strange issues in the code-behind. Have you looked at this file to see if the controls included match your page defined controls?

    If you think this could be the issue you can delete and recreate the designer file. If you’ve never deleted a designer file before, this might be a bit frightening, but the designer file is auto-generated and merged with the partial class in the aspx.cs code-behind file. Basically, this file is used to auto-generate the definition for the WebControls on the page.

    Here’s a link i found quickly when searching: http://www.undermyhat.org/blog/2009/07/tip-regenerate-aspx-designer-cs-files-when-corrupted/

    To delete and recreate the Default.aspx.designer.cs:

    1. Right-click the designer file and select “Delete”
    2. Right-click the ASPX page (Default.aspx, in your case) and select the “Convert to Web Application” menu-item.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently facing a strange problem in PHP. I have two scripts, index.php which
We are facing a strange problem. We have a user control written in WPF
I am facing a very strange problem. I have a grid and when i
Strange little problem I'm facing with Datetime. Here's what I'm doing: >>> from datetime
Right now I'm facing some kind of strange problem with a Weblogic domain. When
I am facing a strange problem while running my application. I have a class
I am facing a strange problem. Without any change, hibernate does not do anything
I am facing a strange problem regarding Hooking. I have a procedure which acts
I'm facing sort of a strange issue with two applications of mine. Here's the
I have been facing a strange problem while returning dataset through WCF service (WSHttpBinding).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.