I have a app im building and a strange thing is happening and I narrowed it
down to a panel being displayed. Here is what happens. It only happens on
this page in the site to. I will navigate to the page and I will get a
prompt for a username and pass. I can hit cancel and view the page but it is
the prompt that is the problem. There should be no prompt for access. There
is no blocked access. No other page in the app does this. I have checked and
all the permissions are the same as other pages. Now with that said I tested
some things and I have 3 panels on that page. If I navigate to the page and
the conditions exists for to show these 2 panels they show and NO PROMPT!
But if the condition exists for the 3rd panel it PROMPTS FIRST! Then
canceling will display the panel. I have looked at the html and what could
be causeing this? Here is the panel below. If the panel below is used in any
way I get a prompt for username and password each time even on postbacks.
What could be the problem?
<asp:Panel id="PanelAddLogin" runat="server">
<TABLE
id="table12" cellSpacing="6" cellPadding="0" width="570" border="0">
<TR>
<TD align="right" width="552" colSpan="2">
<P align="left">
</P>
</TD>
</TR>
<TR>
<TD align="right" width="552" colSpan="2">
<P align="left"><FONT face="Verdana" size="4"><B>Administrator Control Panel
- <FONT color="#000080">
ADD LOGIN</FONT></B></FONT></P>
</TD>
</TR>
<TR>
<TD align="right" width="132"> </TD>
<TD width="420">
</TD>
</TR>
<TR>
<TD width="420" colSpan="2"><FONT face="Verdana">
<asp:Label id="LabelStatus" runat="server">Please fill out this form
completely.</asp:Label></FONT></TD>
</TR>
<TR>
<TD align="right" width="132"> </TD>
<TD width="420">
</TD>
</TR>
<TR>
<FORM id="AddLogin0" runat="server">
<TD align="right" width="132"><FONT face="Verdana"
color="#000080">LoginID</FONT></TD>
<TD width="420">
<asp:TextBox id="LoginID" runat="server" MaxLength="20"></asp:TextBox>
<asp:RequiredFieldValidator id="ValidatorLoginID" runat="server"
ErrorMessage="Missing LoginID"
ControlToValidate="LoginID"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD align="right" width="132" height="25"><FONT face="Verdana"
color="#000080">Password</FONT></TD>
<TD width="420" height="25">
<asp:TextBox id="Password" runat="server"
MaxLength="20"></asp:TextBox>
<asp:RequiredFieldValidator id="ValidatorPassword" runat="server"
ErrorMessage="Missing Password"
ControlToValidate="Password"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD align="right" width="132"><FONT face="Verdana"
color="#000080">UserType</FONT></TD>
<TD width="420">
<asp:DropDownList id="UserType" runat="server">
<asp:ListItem Value="Client" Selected="True">Client</asp:ListItem>
<asp:ListItem Value="Attorney">Attorney</asp:ListItem>
<asp:ListItem Value="Debtor">Debtor</asp:ListItem>
<asp:ListItem Value="Administrator">Administrator</asp:ListItem>
</asp:DropDownList></TD>
</TR>
<TR>
<TD align="right" width="132"> </TD>
<TD width="420"> </TD>
</TR>
<TR>
<TD align="right" width="132"><FONT face="Verdana" color="navy"><SPAN
style="COLOR: navy">Name</SPAN></FONT></TD>
<TD width="420">
<asp:TextBox id="ClientName" runat="server" MaxLength="100"
Width="265px"></asp:TextBox>
<asp:RequiredFieldValidator id="ValidatorClientName" runat="server"
ErrorMessage="Missing Name"
ControlToValidate="ClientName"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD align="right" width="132"><FONT face="Verdana" color="navy"><SPAN
style="COLOR: navy">Street Address</SPAN></FONT></TD>
<TD width="420">
<asp:TextBox id="ClientStreetAddress" runat="server" MaxLength="150"
Width="265px"></asp:TextBox>
<asp:RequiredFieldValidator id="ValidatorClientStreetAddress" runat="server"
ErrorMessage="Missing Street Address"
ControlToValidate="ClientStreetAddress"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD align="right" width="132"><FONT face="Verdana" color="navy"><SPAN
style="COLOR: navy">City</SPAN></FONT></TD>
<TD width="420">
<asp:TextBox id="ClientCity" runat="server" MaxLength="50"
Width="265px"></asp:TextBox>
<asp:RequiredFieldValidator id="ValidatorClientCity" runat="server"
ErrorMessage="Missing City"
ControlToValidate="ClientCity"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD align="right" width="132"><FONT face="Verdana" color="navy"><SPAN
style="COLOR: navy">State</SPAN></FONT></TD>
<TD width="420">
<asp:dropdownlist id="ClientState" runat="server">
<asp:ListItem Value="Alabama">Alabama</asp:ListItem>
<asp:ListItem Value="Alaska">Alaska</asp:ListItem>
<asp:ListItem Value="Arizona">Arizona</asp:ListItem>
<asp:ListItem Value="Arkansas">Arkansas</asp:ListItem>
<asp:ListItem Value="California">California</asp:ListItem>
<asp:ListItem Value="Colorado">Colorado</asp:ListItem>
<asp:ListItem Value="Connecticut">Connecticut</asp:ListItem>
<asp:ListItem Value="Delaware">Delaware</asp:ListItem>
<asp:ListItem Value="District of Columbia">District of
Columbia</asp:ListItem>
<asp:ListItem Value="Florida">Florida</asp:ListItem>
<asp:ListItem Value="Georgia">Georgia</asp:ListItem>
<asp:ListItem Value="Hawaii">Hawaii</asp:ListItem>
<asp:ListItem Value="Idaho">Idaho</asp:ListItem>
<asp:ListItem Value="Illinois">Illinois</asp:ListItem>
<asp:ListItem Value="Indiana">Indiana</asp:ListItem>
<asp:ListItem Value="Iowa">Iowa</asp:ListItem>
<asp:ListItem Value="Kansas">Kansas</asp:ListItem>
<asp:ListItem Value="Kentucky">Kentucky</asp:ListItem>
<asp:ListItem Value="Louisiana">Louisiana</asp:ListItem>
<asp:ListItem Value="Maine">Maine</asp:ListItem>
<asp:ListItem Value="Maryland">Maryland</asp:ListItem>
<asp:ListItem Value="Massachusetts">Massachusetts</asp:ListItem>
<asp:ListItem Value="Michigan">Michigan</asp:ListItem>
<asp:ListItem Value="Minnesota">Minnesota</asp:ListItem>
<asp:ListItem Value="Mississippi">Mississippi</asp:ListItem>
<asp:ListItem Value="Missouri">Missouri</asp:ListItem>
<asp:ListItem Value="Montana">Montana</asp:ListItem>
<asp:ListItem Value="Nebraska">Nebraska</asp:ListItem>
<asp:ListItem Value="Nevada">Nevada</asp:ListItem>
<asp:ListItem Value="New Hampshire">New Hampshire</asp:ListItem>
<asp:ListItem Value="New Jersey">New Jersey</asp:ListItem>
<asp:ListItem Value="New Mexico">New Mexico</asp:ListItem>
<asp:ListItem Value="New York">New York</asp:ListItem>
<asp:ListItem Value="North Carolina">North Carolina</asp:ListItem>
<asp:ListItem Value="North Dakota">North Dakota</asp:ListItem>
<asp:ListItem Value="Ohio">Ohio</asp:ListItem>
<asp:ListItem Value="Oklahoma">Oklahoma</asp:ListItem>
<asp:ListItem Value="Ontario">Ontario</asp:ListItem>
<asp:ListItem Value="Oregon">Oregon</asp:ListItem>
<asp:ListItem Value="Pennsylvania">Pennsylvania</asp:ListItem>
<asp:ListItem Value="Rhode Island">Rhode Island</asp:ListItem>
<asp:ListItem Value="South Carolina">South Carolina</asp:ListItem>
<asp:ListItem Value="South Dakota">South Dakota</asp:ListItem>
<asp:ListItem Value="Tennessee">Tennessee</asp:ListItem>
<asp:ListItem Value="Texas">Texas</asp:ListItem>
<asp:ListItem Value="Utah">Utah</asp:ListItem>
<asp:ListItem Value="Vermont">Vermont</asp:ListItem>
<asp:ListItem Value="Virginia">Virginia</asp:ListItem>
<asp:ListItem Value="Washington">Washington</asp:ListItem>
<asp:ListItem Value="West Virginia">West Virginia</asp:ListItem>
<asp:ListItem Value="Wisconsin">Wisconsin</asp:ListItem>
<asp:ListItem Value="Wyoming">Wyoming</asp:ListItem>
</asp:dropdownlist></TD>
</TR>
<TR>
<TD align="right" width="132"><FONT face="Verdana" color="navy"><SPAN
style="COLOR: navy">Zip Code</SPAN></FONT></TD>
<TD width="420">
<asp:TextBox id="ClientZipCode" runat="server"
MaxLength="20"></asp:TextBox>
<asp:RequiredFieldValidator id="ValidatorClientZipCode" runat="server"
ErrorMessage="Missing Zip Code"
ControlToValidate="ClientZipCode"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD align="right" width="132"><FONT face="Verdana" color="navy"><SPAN
style="COLOR: navy">Primary Phone</SPAN></FONT></TD>
<TD width="420">
<asp:TextBox id="ClientPrimaryPhone" runat="server"
MaxLength="20"></asp:TextBox>
<asp:RequiredFieldValidator id="ValidatorClientPrimaryPhone" runat="server"
ErrorMessage="Missing Primary Phone"
ControlToValidate="ClientPrimaryPhone"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD align="right" width="132"><FONT face="Verdana" color="navy"><SPAN
style="COLOR: navy">Email</SPAN></FONT></TD>
<TD width="420">
<asp:TextBox id="ClientEmail" runat="server" MaxLength="75"
Width="265px"></asp:TextBox>
<asp:RequiredFieldValidator id="ValidatorClientEmail" runat="server"
ErrorMessage="Missing Email"
ControlToValidate="ClientEmail"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD align="right" width="132"><FONT face="Verdana" color="navy"><SPAN
style="COLOR: navy">Fax Number</SPAN></FONT></TD>
<TD width="420">
<asp:TextBox id="ClientFaxNumber" runat="server"
MaxLength="20"></asp:TextBox>
<asp:RequiredFieldValidator id="ValidatorClientFaxNumber" runat="server"
ErrorMessage="Missing Fax Number"
ControlToValidate="ClientFaxNumber"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD align="center" colSpan="2">
<asp:Button id="ButtonAddLogin" runat="server" Text="ADD NEW
LOGIN"></asp:Button></TD>
</TR>
</FORM></TABLE>
</asp:Panel>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/