Note that there are some explanatory texts on larger screens.

plurals
  1. POClicking on Events handler does not open the code window
    primarykey
    data
    text
    <p>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.</p> <p>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:</p> <pre><code>&lt;%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site1.master" AutoEventWireup="true" CodeBehind="~/Default.aspx.cs" Inherits="Default" %&gt; &lt;asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"&gt; &lt;style type="text/css"&gt; .style1 { width: 100%; background-image: url('../Images/dl.jpg'); } &lt;/style&gt; &lt;/asp:Content&gt; &lt;asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent" &gt; &lt;h1&gt; &lt;span class="input"&gt;Welcome to the members-only page.&lt;/span&gt; &lt;/h1&gt; &lt;h2&gt; Start Client Side Application. &lt;/h2&gt; &lt;asp:LoginView ID="LoginView1" runat="server"&gt; &lt;AnonymousTemplate&gt; &lt;span class="input"&gt;&amp;nbsp;You are not logged in. Click the Login link to sign in&lt;/span&gt; &lt;/AnonymousTemplate&gt; &lt;LoggedInTemplate&gt; &lt;span class="input"&gt;You are logged in. Welcome, &lt;/span&gt; &lt;/LoggedInTemplate&gt; &lt;/asp:LoginView&gt; &lt;asp:LoginName ID="LoginName1" runat="server" /&gt; &amp;nbsp;&amp;nbsp; &lt;table class="style1"&gt; &lt;tr&gt; &lt;td align="center" valign="middle"&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; Click on This Image Link To Start The Application&lt;br /&gt; &lt;br /&gt; &lt;asp:ImageButton runat="server" ID="ImageButton1" Height="100px" ImageUrl="~/Images/rdi.jpg" /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;asp:LoginStatus ID="LoginStatus1" runat="server" LogoutAction="RedirectToLoginPage" BackColor="White" Font-Underline="True" /&gt; &lt;/asp:Content&gt; </code></pre> <p>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.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload