Advertisement

03.25.2008 at 06:40AM PDT, ID: 23266907
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

ajaxToolkit:ModalPopupExtender in a user control Pop-up control disappears?

Tags: asp.net 3.5 ajax toolkit, IE Firefox
I'm writing a login user control in C# using asp.net 3.5 with the Ajax Toolkit's ModalPopUExtender to allow the user to click a login link that will then display a modal pop-up with the login information in it.  

In the user control, I have a Panel that I make "hidden" via CSS which includes all the pertinent info to login; and then outside of this panel I have a linkbuton that invokes the pop-up login box.  

When I place this user control on a page, the Linkbutton displays for a split second, then disappears.  I'm not sure why its doing this, I don't have any CSS that makes it go away...

Please advise?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="login.ascx.cs" Inherits="modules_login" %>
<asp:LinkButton ID="loginClick" runat="server" CausesValidation="false">Login</asp:LinkButton>
<asp:Panel ID="panelLogin" runat="server" 
    style="display:none;height: 100px; width: 270px; background-color:black;color: #FFFFFF;  margin:10; padding:10px;" 
    Width="286px">
<h1 style="text-align: center">
    Login Options</h1>
<table align="center" style="color:White;">
    <tr>
        <td>
            Email Address:</td>
        <td>
            <asp:TextBox ID="txtLoginEmail" runat="server" Width="180px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            Password:</td>
        <td>
            <asp:TextBox ID="txtLoginEmail0" runat="server" Width="180px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
</table>
<div align="center"><asp:Button ID="btnLogin" runat="server" Text="Login" 
        onclick="btnLogin_Click" />&nbsp;<asp:Button ID="btnCancel" runat="server" 
        Text="Cancel" />
    <br />
    <asp:LinkButton ID="btnRegister" runat="server">Register</asp:LinkButton>
&nbsp;<asp:LinkButton ID="btnForgotPassword" runat="server">Forgot Password</asp:LinkButton>
</div>
</asp:Panel>
<ajaxToolkit:ModalPopupExtender ID="panelLogin_ModalPopupExtender" 
    runat="server" TargetControlID="panelLogin" CancelControlID="btnCancel" PopupControlID="loginClick"
    BackgroundCssClass ="modalBackground">
</ajaxToolkit:ModalPopupExtender>
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: adworldmedia
Solution Provided By: adworldmedia
Participating Experts: 0
Solution Grade: A
Views: 223
Translate:
Loading Advertisement...
03.25.2008 at 07:23PM PDT, ID: 21208438

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628